summaryrefslogtreecommitdiff
path: root/lib/libc/sys/chroot.2
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-01-31 21:19:22 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-01-31 21:19:22 +0000
commitbd5466d65ad982b8ffed8dac226f73e1fbbff3fe (patch)
tree413a70347733b410a78c945e308fa8ab98804d28 /lib/libc/sys/chroot.2
parenta908904a1eca592b3a16f2f67f4b90252bec8f84 (diff)
Notes
Diffstat (limited to 'lib/libc/sys/chroot.2')
-rw-r--r--lib/libc/sys/chroot.26
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2
index 148bcd51a80a..b2c3b4ea1636 100644
--- a/lib/libc/sys/chroot.2
+++ b/lib/libc/sys/chroot.2
@@ -137,3 +137,9 @@ The
.Fn chroot
system call appeared in
.Bx 4.2 .
+.Sh BUGS
+If the process is able to change its working directory to the target
+directory, but another access control check fails (such as a check for
+open directories, or a MAC check), it is possible that this system
+call may return an error, with the working directory of the process
+left changed.