]> Git Repo - linux.git/commit - security/selinux/hooks.c
selinux: adjust rules for ATTR_FORCE
authorAmerigo Wang <[email protected]>
Fri, 21 Aug 2009 02:29:02 +0000 (19:29 -0700)
committerJames Morris <[email protected]>
Fri, 21 Aug 2009 04:25:30 +0000 (14:25 +1000)
commitbc6a6008e5e3c7a30191a7f19ab19e85b14b1705
tree46504659c2303224cb3c8ad13e1d1b580351b41b
parentece13879e74313e62109e0755dd3d4f172df89e2
selinux: adjust rules for ATTR_FORCE

As suggested by OGAWA Hirofumi in thread:
http://lkml.org/lkml/2009/8/7/132, we should let selinux_inode_setattr()
to match our ATTR_* rules.  ATTR_FORCE should not force things like
ATTR_SIZE.

[[email protected]: tweaks]
Signed-off-by: WANG Cong <[email protected]>
Signed-off-by: OGAWA Hirofumi <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Acked-by: Eric Paris <[email protected]>
Cc: Eugene Teo <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Acked-by: James Morris <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: James Morris <[email protected]>
security/selinux/hooks.c
This page took 0.052422 seconds and 4 git commands to generate.