summaryrefslogtreecommitdiffstats
path: root/security/selinux/avc.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-20 19:44:08 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-20 01:43:27 -0400
commitcf1dd1dae851ce5765cda5de16aa965eef7c2dbf (patch)
tree5ee564e56eca307701ce155e30a2cbb05b9937e3 /security/selinux/avc.c
parente74f71eb78a4a8b9eaf1bc65f20f761648e85f76 (diff)
downloadlinux-stable-cf1dd1dae851ce5765cda5de16aa965eef7c2dbf.tar.gz
linux-stable-cf1dd1dae851ce5765cda5de16aa965eef7c2dbf.tar.bz2
linux-stable-cf1dd1dae851ce5765cda5de16aa965eef7c2dbf.zip
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.c2
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;