mirror of https://github.com/mkerrisk/man-pages
chroot.2: Mention /proc/[pid]/root
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
e06763febd
commit
bdf4703297
|
@ -169,6 +169,12 @@ inherits its parent's root directory.
|
||||||
The root directory is left unchanged by
|
The root directory is left unchanged by
|
||||||
.BR execve (2).
|
.BR execve (2).
|
||||||
.PP
|
.PP
|
||||||
|
The magic symbolic link,
|
||||||
|
.IR /proc/[pid]/root ,
|
||||||
|
can be used to discover a process's root directory; see
|
||||||
|
.BR proc (5)
|
||||||
|
for details.
|
||||||
|
.PP
|
||||||
FreeBSD has a stronger
|
FreeBSD has a stronger
|
||||||
.BR jail ()
|
.BR jail ()
|
||||||
system call.
|
system call.
|
||||||
|
|
Loading…
Reference in New Issue