Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2005 22:50:41 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Colin Percival <cperciva@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_jail.c src/sys/sys jail.h src/sys/ufs/ufs ufs_vnops.c src/usr.sbin/jail jail.8
Message-ID:  <20050208215041.GP1080@darkness.comp.waw.pl>
In-Reply-To: <200502082131.j18LVBBd031393@repoman.freebsd.org>
References:  <200502082131.j18LVBBd031393@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, Feb 08, 2005 at 09:31:11PM +0000, Colin Percival wrote:
+> cperciva    2005-02-08 21:31:11 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     sys/kern             kern_jail.c 
+>     sys/sys              jail.h 
+>     sys/ufs/ufs          ufs_vnops.c 
+>     usr.sbin/jail        jail.8 
+>   Log:
+>   Add a new sysctl, "security.jail.chflags_allowed", which controls the
+>   behaviour of chflags within a jail.  If set to 0 (the default), then a
+>   jailed root user is treated as an unprivileged user; if set to 1, then
+>   a jailed root user is treated the same as an unjailed root user.
+>   
+>   This is necessary to allow "make installworld" to work inside a jail,
+>   since it attempts to manipulate the system immutable flag on certain
+>   files.

More than that. It should be allowed in the future by default and this
behaviour should be controlled by jail's securelevel.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCCTQxForvXbEpPzQRAoBpAJ96CRpJ50ouDblplrkBYxbgQozVoQCePSLO
5/0gMGxu7JnzUoB2VvFjejg=
=MhJQ
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050208215041.GP1080>