aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-07-27 18:50:09 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-09-23 13:11:18 +0200
commit7cc1a16df6cce3b4eb87591385d285b51551a955 (patch)
tree7f750a9b977ccab2026296eac1e4d105f5f2be79 /man2
parentfdc558bda9224206828d100ec9c7d0d44cdf755d (diff)
downloadman-pages-7cc1a16df6cce3b4eb87591385d285b51551a955.tar.gz
pivot_root.2: Introduce mount namespaces in the very first sentence
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/pivot_root.26
1 files changed, 3 insertions, 3 deletions
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.