From bdf470329749f89774b8fab9596285d478735d9c Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 18 Jul 2018 21:41:03 +0200 Subject: [PATCH] chroot.2: Mention /proc/[pid]/root Signed-off-by: Michael Kerrisk --- man2/chroot.2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man2/chroot.2 b/man2/chroot.2 index 345d3acd0..a9468e7bf 100644 --- a/man2/chroot.2 +++ b/man2/chroot.2 @@ -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.