diff options
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r-- | lib/libc/sys/chroot.2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index db7336c..eeb9def 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -67,26 +67,26 @@ This call is restricted to the super-user. Depending on the setting of the .Ql kern.chroot_allow_open_directories sysctl variable, open filedescriptors which reference directories -will make the +will make the .Fn chroot fail as follows: .Pp -If +If .Ql kern.chroot_allow_open_directories -is set to zero, +is set to zero, .Fn chroot will always fail with .Er EPERM if there are any directories open. .Pp -If +If .Ql kern.chroot_allow_open_directories -is set to one (the default), +is set to one (the default), .Fn chroot will fail with .Er EPERM if there are any directories open and the -process is already subject to a +process is already subject to a .Fn chroot call. .Pp |