]> git.ipfire.org Git - thirdparty/util-linux.git/commit
unshare: add --map-current-user option
authorJames Peach <jpeach@apache.org>
Thu, 17 Jan 2019 22:17:54 +0000 (14:17 -0800)
committerJames Peach <jpeach@apache.org>
Sun, 8 Sep 2019 22:00:00 +0000 (15:00 -0700)
commit4175f29e62ca065acf2527eaaa81e6d9357f6fa5
treea7d06a11187bb666debca8762994da03d699a1f1
parent925f2d4f4fbb671d8bd543cff1d6c3cb59a554c5
unshare: add --map-current-user option

Add the --map-current-user option to unshare. This option maps the
current effective UID and GID in the new user namespace so that the
inner and outer credentials match.

Signed-off-by: James Peach <jpeach@apache.org>
sys-utils/unshare.1
sys-utils/unshare.c