From owner-cvs-all Fri Jan 31 13:19:25 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8357437B4FF; Fri, 31 Jan 2003 13:19:23 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 234B543FA7; Fri, 31 Jan 2003 13:19:23 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0VLJMbv004036; Fri, 31 Jan 2003 13:19:22 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0VLJMrx004035; Fri, 31 Jan 2003 13:19:22 -0800 (PST) Message-Id: <200301312119.h0VLJMrx004035@repoman.freebsd.org> From: Robert Watson Date: Fri, 31 Jan 2003 13:19:22 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys chroot.2 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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