mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: Note capability requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
81b24320d8
commit
fdc558bda9
|
@ -20,10 +20,9 @@ There is no glibc wrapper for this system call; see NOTES.
|
|||
moves the root filesystem of the calling process to the
|
||||
directory \fIput_old\fP and makes \fInew_root\fP the new root filesystem
|
||||
of the calling process.
|
||||
.\"
|
||||
.\" The
|
||||
.\" .B CAP_SYS_ADMIN
|
||||
.\" capability is required.
|
||||
The calling process must have the
|
||||
.B CAP_SYS_ADMIN
|
||||
capability in the user namespace that owns the caller's mount namespace.
|
||||
.PP
|
||||
The typical use of
|
||||
.BR pivot_root ()
|
||||
|
|
Loading…
Reference in New Issue