]> git.ipfire.org Git - thirdparty/util-linux.git/commit
unshare: Add support for the pid and user namespaces
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 11 Jan 2013 22:53:34 +0000 (14:53 -0800)
committerKarel Zak <kzak@redhat.com>
Thu, 17 Jan 2013 12:17:32 +0000 (13:17 +0100)
commitbc7f9b95c04a8a6bb60cf2e58df47567f30cb989
tree2906c12b6bd6cac8a7b3e604e55b3f6c18159c38
parentf8aa8e9495dd89f39b7d0db5aab431cac02ea519
unshare: Add support for the pid and user namespaces

- Update the unshare application to support the pid and user namespaces.
- Update the man page for the new options
- Fix typo in the man page where UTS was spelled UTC.
- Remove the vestigal support for running a suid unshare.
  After unsharing a user namespace setuid(getuid()) won't work because
  no uid or gid mappings have been specified yet. So it is just easier not
  to have any support for running suid.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
sys-utils/unshare.1
sys-utils/unshare.c