]> git.ipfire.org Git - thirdparty/util-linux.git/commit
nsenter: allow to use --set{uid,gid} for all namespaces
authorKarel Zak <kzak@redhat.com>
Tue, 29 Jul 2014 11:07:44 +0000 (13:07 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 29 Jul 2014 11:07:44 +0000 (13:07 +0200)
commit47f42c1d14901b8bc2eb477fb0082bcbdd5e79af
tree12db1be2f2ac47a615f38f068c769c149b09b814
parentbe0e5d2c5570fca7d7ce7afa326d7d7283472066
nsenter: allow to use --set{uid,gid} for all namespaces

Now it's possible to set UID and GID for user namespaces only. This
patch removes this restriction and allow to use --set{uid,gid} in all
cases. The default for user namespaces is still GID=0, UID=0.

Reported-by: Tomas Doran <bobtfish@bobtfish.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/nsenter.1
sys-utils/nsenter.c