Date: Fri, 31 Jan 2003 13:19:22 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys chroot.2 Message-ID: <200301312119.h0VLJMrx004035@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2003/01/31 13:19:22 PST
Modified files:
lib/libc/sys chroot.2
Log:
Document a bug in our chroot(2) implementation: if access control
checks, including the "open directory" check or a MAC check fail,
after the working directory of the process has been changed, then
the cwd of the process will be left as the target directory rather
than the original directory.
At some point, this bug might be fixable by performing the directory
change only after permission is granted for the change. In the
mean time document it (it's been there for a while).
Revision Changes Path
1.19 +6 -0 src/lib/libc/sys/chroot.2
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301312119.h0VLJMrx004035>
