summaryrefslogtreecommitdiffstats
path: root/sys-utils/nsenter.c
diff options
context:
space:
mode:
authorKarel Zak2015-01-08 11:51:58 +0100
committerKarel Zak2015-01-09 10:35:16 +0100
commitfbceefded6645de693d576cd988a703a6f60d207 (patch)
tree9ca52ab8d876e470fd64601c7e7eac1e577fe36c /sys-utils/nsenter.c
parentunshare: Fix --map-root-user to work on new kernels (diff)
downloadkernel-qcow2-util-linux-fbceefded6645de693d576cd988a703a6f60d207.tar.gz
kernel-qcow2-util-linux-fbceefded6645de693d576cd988a703a6f60d207.tar.xz
kernel-qcow2-util-linux-fbceefded6645de693d576cd988a703a6f60d207.zip
unshare: add --setgroups=deny|allow
Since Linux 3.19 the file /proc/self/setgroups controls setgroups(2) syscall usage in user namespaces. This patch provides command line knob for this feature. The new --setgroups does not automatically implies --user to avoid complexity, it's user's responsibility to use it in right context. The exception is --map-root-user which is mutually exclusive to --setgroups=allow. CC: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/nsenter.c')
0 files changed, 0 insertions, 0 deletions