summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/audit_write.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-12-09 10:47:34 +0100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-12-11 03:15:10 +0100
commitc4cd747ee6c3ba1e7727878e3fce482d0d8c0136 (patch)
tree2232d0b923fdd2095abed5cfa4ea8b7222026b74 /include/asm-generic/audit_write.h
parent[XFS] add a FMODE flag to make XFS invisible I/O less hacky (diff)
downloadlinux-c4cd747ee6c3ba1e7727878e3fce482d0d8c0136.tar.xz
linux-c4cd747ee6c3ba1e7727878e3fce482d0d8c0136.zip
[XFS] use inode_change_ok for setattr permission checking
Instead of implementing our own checks use inode_change_ok to check for necessary permission in setattr. There is a slight change in behaviour as inode_change_ok doesn't allow i_mode updates to add the suid or sgid without superuser privilegues while the old XFS code just stripped away those bits from the file mode. (First sent on Semptember 29th) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'include/asm-generic/audit_write.h')
0 files changed, 0 insertions, 0 deletions