From: Amerigo Wang Date: Fri, 21 Aug 2009 02:29:02 +0000 (-0700) Subject: selinux: adjust rules for ATTR_FORCE X-Git-Tag: v2.6.32-rc1~737^2^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc6a6008e5e3c7a30191a7f19ab19e85b14b1705;p=pandora-kernel.git 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. [hirofumi@mail.parknet.co.jp: tweaks] Signed-off-by: WANG Cong Signed-off-by: OGAWA Hirofumi Acked-by: Stephen Smalley Acked-by: Eric Paris Cc: Eugene Teo Cc: Al Viro Cc: Christoph Hellwig Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: James Morris --- Reading git-diff-tree failed