mirror of https://github.com/mkerrisk/man-pages
setns.2: Clarify capabilities required for reassociating with a mount namespace
Based on comments from Eric Biederman. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2a9f74a936
commit
21bfe3e933
|
@ -109,7 +109,9 @@ Changing the mount namespace requires that the caller possess both
|
|||
.B CAP_SYS_CHROOT
|
||||
and
|
||||
.BR CAP_SYS_ADMIN
|
||||
capabilities.
|
||||
capabilities in its own user namespace and
|
||||
.BR CAP_SYS_ADMIN
|
||||
in the target mount namespace.
|
||||
|
||||
.SH RETURN VALUE
|
||||
On success,
|
||||
|
|
Loading…
Reference in New Issue