diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-21 03:44:08 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 09:43:27 +0400 |
commit | cf1dd1dae851ce5765cda5de16aa965eef7c2dbf (patch) | |
tree | 5ee564e56eca307701ce155e30a2cbb05b9937e3 /security/selinux/avc.c | |
parent | e74f71eb78a4a8b9eaf1bc65f20f761648e85f76 (diff) | |
download | linux-cf1dd1dae851ce5765cda5de16aa965eef7c2dbf.tar.xz |
selinux: don't transliterate MAY_NOT_BLOCK to IPERM_FLAG_RCU
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/selinux/avc.c')
-rw-r--r-- | security/selinux/avc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index d515b2128a4e..dca1c22d9276 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -527,7 +527,7 @@ int avc_audit(u32 ssid, u32 tsid, * happened a little later. */ if ((a->type == LSM_AUDIT_DATA_INODE) && - (flags & IPERM_FLAG_RCU)) + (flags & MAY_NOT_BLOCK)) return -ECHILD; a->selinux_audit_data.tclass = tclass; |