]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable chflags() from within jail() so that root within jail can't make
authorRobert Watson <rwatson@FreeBSD.org>
Sun, 20 Feb 2000 01:10:36 +0000 (01:10 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Sun, 20 Feb 2000 01:10:36 +0000 (01:10 +0000)
commit41ecf3565f5dc186f6f0476521c91422e73680c1
tree9237ecb7b26d09d8db2707042748a9279a443567
parentda8a39382ba4bd92e7f4648d4d01843150b1db52
Disable chflags() from within jail() so that root within jail can't make
a mess in securelevel environments.  Results in one warning during
/etc/rc as it attempts to remove file flags, but this is harmless.

Approved by: High Lord Hubbard
sys/ufs/ufs/ufs_vnops.c