diff options
author | Amerigo Wang <amwang@redhat.com> | 2009-08-20 19:29:02 -0700 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-08-21 14:25:30 +1000 |
commit | bc6a6008e5e3c7a30191a7f19ab19e85b14b1705 (patch) | |
tree | 46504659c2303224cb3c8ad13e1d1b580351b41b /fs/open.c | |
parent | ece13879e74313e62109e0755dd3d4f172df89e2 (diff) |
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 <amwang@redhat.com>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: Eric Paris <eparis@redhat.com>
Cc: Eugene Teo <eteo@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions