Re: Keyrings, user namespaces and the user_struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 25, 2016 at 11:13:24AM -0700, James Bottomley wrote:
> On Tue, 2016-10-25 at 18:30 +0100, David Howells wrote:
> > James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > > I think you want to behave exactly as the mount namespace does: on
> > > initial clone, you get a fully cloned mount tree and then you 
> > > customise it by unmounting pieces.
> > 
> > That adds quite a bit of complexity, given that:
[...]
> >  (2) there are quotas on the number of keys a user is permitted;
> 
> If this is counted per-id, then yes, mapping a range of ids with an
> owning exterior non root user does allow you to escape the count ...
> how important is it?  Could we not simply hand wave it away as yet
> another consequence you have to think about when giving a user a range
> of exterior ids (because if there are N, their key count could get up
> to N * the limit).

Wouldn't it be N * normal_limit * number_of_namespaces, where
number_of_namespaces is how many namespaces you can create (afaik
unbounded)?
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers



[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux