Re: [PATCH] nsenter: Allow selecting the uid and gid to be used in the entered userns

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

 



Am 26.04.2013 03:01, schrieb Eric W. Biederman:
Richard Weinberger <richard@xxxxxx> writes:

Using -S (--setuid) and -G (--setgid) one can select
the uid/gid which will be used in the entered user namespace.

There is definitely utility here.  I don't have a strong preference but
I am inclined to suggest that you remove the set_uid and set_gid
variables, and unconditionally call setuid and setgid when entering
a user namespace.

I thought about that too. But this would introduce a behavior change.
Karel, are you fine with such a change?

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux