mirror of https://github.com/mkerrisk/man-pages
pivot_root.2: s/root filesystem/root mount/
As suggested by Eric Biederman. Reported-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
666373fc08
commit
0843016c9b
|
@ -10,7 +10,7 @@
|
|||
.\"
|
||||
.TH PIVOT_ROOT 2 2019-08-02 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
pivot_root \- change the root filesystem
|
||||
pivot_root \- change the root mount
|
||||
.SH SYNOPSIS
|
||||
.BI "int pivot_root(const char *" new_root ", const char *" put_old );
|
||||
.PP
|
||||
|
@ -18,9 +18,9 @@ pivot_root \- change the root filesystem
|
|||
There is no glibc wrapper for this system call; see NOTES.
|
||||
.SH DESCRIPTION
|
||||
.BR pivot_root ()
|
||||
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.
|
||||
changes the root mount in the mount namespace of the calling process.
|
||||
More precisely, it moves the root mount to the
|
||||
directory \fIput_old\fP and makes \fInew_root\fP the new root mount.
|
||||
The calling process must have the
|
||||
.B CAP_SYS_ADMIN
|
||||
capability in the user namespace that owns the caller's mount namespace.
|
||||
|
|
Loading…
Reference in New Issue