aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/ext2fs/ext2_vnops.c
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2012-04-10 15:59:37 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2012-04-10 15:59:37 +0000
commitfce74feae103931f724accd8c30cab9871834348 (patch)
treef395af4f7a55d38376b42fc0bf4f88ad8de58486 /sys/fs/ext2fs/ext2_vnops.c
parentda4b9d29719879e21142b5a0d9e64779cc2406d7 (diff)
downloadsrc-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