]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
o Re-enable support of system file flags in jail() by adding back the
authorrwatson <rwatson@FreeBSD.org>
Wed, 26 Sep 2001 20:44:41 +0000 (20:44 +0000)
committerrwatson <rwatson@FreeBSD.org>
Wed, 26 Sep 2001 20:44:41 +0000 (20:44 +0000)
commit9eed33b6434e112b2461310924a8851634e765ec
tree0b11be9f17d8c85cd9ac6f262954f866ccf55b47
parentc3b85750019e1db5db54add33f31308979fb356f
o Re-enable support of system file flags in jail() by adding back the
  PRISON_ROOT to the suser_xxx() check.  Since securelevels may now
  be raised in specific jails, use of system flags can still be
  restricted in jail(), but in a more configurable way.
o Users of jail() expecting system flags (such as schg) to restrict
  jail()'s should be sure to set the securelevel appropriately in
  jail()'s.
o This fixes activities involving automated system flag removal in
  jail(), including installkernel and friends.

Obtained from: TrustedBSD Project
sys/ufs/ufs/ufs_vnops.c