[PATCH v2 0/2] unshare: add some chroot magic

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

 



This couple of patches merges "unshare chroot" in one command.
Parameter names are copied from nsenter.
Doing like this the /proc filesystem is correctly mounted in the
new root with "--mount-proc".

v2: allow to use --wd without --root
    fix a bug when we use --mount-proc with --root
    -> don't remount /proc to none
    fix tabulation

Laurent Vivier (2):
  unshare: allow to set a new root
  unshare: allow to set user ID and group ID

 bash-completion/unshare |  6 +++-
 sys-utils/unshare.1     | 13 +++++++++
 sys-utils/unshare.c     | 62 ++++++++++++++++++++++++++++++++++++-----
 3 files changed, 73 insertions(+), 8 deletions(-)

-- 
2.17.1




[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