diff options
author | Jaakko Heinonen <jh@FreeBSD.org> | 2012-04-10 15:59:37 +0000 |
---|---|---|
committer | Jaakko Heinonen <jh@FreeBSD.org> | 2012-04-10 15:59:37 +0000 |
commit | fce74feae103931f724accd8c30cab9871834348 (patch) | |
tree | f395af4f7a55d38376b42fc0bf4f88ad8de58486 /sys/fs/ext2fs/ext2_vnops.c | |
parent | da4b9d29719879e21142b5a0d9e64779cc2406d7 (diff) | |
download | src-fce74feae103931f724accd8c30cab9871834348.tar.gz src-fce74feae103931f724accd8c30cab9871834348.zip |
- Return EPERM from ufs_setattr() when an user without PRIV_VFS_SYSFLAGS
privilege attempts to toggle SF_SETTABLE flags.
- Use the '^' operator in the SF_SNAPSHOT anti-toggling check.
Flags are now stored to ip->i_flags in one place after all checks.
Submitted by: bde
Notes
Notes:
svn path=/head/; revision=234103
Diffstat (limited to 'sys/fs/ext2fs/ext2_vnops.c')
0 files changed, 0 insertions, 0 deletions