]> git.ipfire.org Git - thirdparty/man-pages.git/commit
unshare.2: Same EINVAL errors as for clone(2) can also occur with unshare(2)
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 28 Jul 2018 18:44:56 +0000 (20:44 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 28 Jul 2018 18:54:01 +0000 (20:54 +0200)
commit1f1c28e0a9d0cc4c85c8d5c4d9a28cd3276656e0
tree5181310cd0101c680717ed348df0df555af8e7a2
parent231d0bbe7e04c826b9f4b083e2c940a2c39c9ae3
unshare.2: Same EINVAL errors as for clone(2) can also occur with unshare(2)

The EINVAL errors that can occur for clone(2) when it is called
with various CLONE_NEW* flags and the kernel was not configured
with support for the corresponding namespace can also occur for
unshare(2).  (As far as I can see, these errors don't occur for
either clone(2) or unshare(2) when it comes to CLONE_NEWNS and
CLONE_NEWCGROUP.)

Reported-by: Shawn Landden <shawn@git.icu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/unshare.2