]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
After much consulting with bde, concluded that this fix was the best fix
authorRobert Watson <rwatson@FreeBSD.org>
Tue, 22 Feb 2000 03:56:58 +0000 (03:56 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Tue, 22 Feb 2000 03:56:58 +0000 (03:56 +0000)
commit0f71afb31e893e2b16ff7ea5fcc2158060b93bf5
tree98c1e9b7d8b079e950b207603f19d2fe71c52263
parentb75ebc058cfa676b5140e8875c7c9bd129c66788
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
sys/ufs/ufs/ufs_vnops.c