summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/setflags.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-02-22 03:56:58 +0000
committerrwatson <rwatson@FreeBSD.org>2000-02-22 03:56:58 +0000
commitbaa4395a04d543bb6c3846a0a0de707ce14601af (patch)
treec02469ef53f4acd00337f5823c2190f74dd93fd1 /lib/libc/gen/setflags.c
parent0cb88de5b643347b8bbdea698762f0e9cf877e39 (diff)
downloadFreeBSD-src-baa4395a04d543bb6c3846a0a0de707ce14601af.zip
FreeBSD-src-baa4395a04d543bb6c3846a0a0de707ce14601af.tar.gz
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
Diffstat (limited to 'lib/libc/gen/setflags.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud