From: Michael Kerrisk Date: Sat, 27 Jul 2019 16:50:09 +0000 (+0200) Subject: pivot_root.2: Introduce mount namespaces in the very first sentence X-Git-Tag: man-pages-5.03~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7cc1a16df6cce3b4eb87591385d285b51551a955;p=thirdparty%2Fman-pages.git pivot_root.2: Introduce mount namespaces in the very first sentence Signed-off-by: Michael Kerrisk --- diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index d7ca80d4af..46c44688c5 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -17,9 +17,9 @@ pivot_root \- change the root filesystem There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION .BR pivot_root () -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. +changes the root filesystem in the mount namespace of the calling process. +More precisely, it moves the root filesystem to the +directory \fIput_old\fP and makes \fInew_root\fP the new root filesystem. The calling process must have the .B CAP_SYS_ADMIN capability in the user namespace that owns the caller's mount namespace.