commit | cf1dd1dae851ce5765cda5de16aa965eef7c2dbf | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Mon Jun 20 19:44:08 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Jul 20 01:43:27 2011 -0400 |
tree | 5ee564e56eca307701ce155e30a2cbb05b9937e3 | |
parent | e74f71eb78a4a8b9eaf1bc65f20f761648e85f76 [diff] [blame] |
selinux: don't transliterate MAY_NOT_BLOCK to IPERM_FLAG_RCU Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index d515b21..dca1c22 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c
@@ -527,7 +527,7 @@ * 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;