chroot.2: Mention /proc/[pid]/root

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-07-18 21:41:03 +02:00
parent e06763febd
commit bdf4703297
1 changed files with 6 additions and 0 deletions

View File

@ -169,6 +169,12 @@ inherits its parent's root directory.
The root directory is left unchanged by
.BR execve (2).
.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
.BR jail ()
system call.