From owner-cvs-all Mon Feb 21 19:57: 3 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5B8E237B67F; Mon, 21 Feb 2000 19:57:00 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA52979; Mon, 21 Feb 2000 19:57:00 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Message-Id: <200002220357.TAA52979@freefall.freebsd.org> From: Robert Watson Date: Mon, 21 Feb 2000 19:56:59 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ufs ufs_vnops.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk rwatson 2000/02/21 19:56:59 PST Modified files: sys/ufs/ufs ufs_vnops.c Log: After much consulting with bde, concluded that this fix was the best fix to the current jail/chflags interactions. This fix conditionalizes ``root behavior'' in the chflags() case on not being in jail, so attempts to perform a chflags in a jail are limited to what a normal user could do. For example, this does allow setting of user flags as appropriate, but prohibits changing of system flags. Reviewed by: bde Revision Changes Path 1.131 +3 -3 src/sys/ufs/ufs/ufs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message