diff options
Diffstat (limited to 'security/smack/smack_lsm.c')
-rw-r--r-- | security/smack/smack_lsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 92cb71507f5b..5ab3f39442f2 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c | |||
@@ -1218,7 +1218,7 @@ static int smack_file_mmap(struct file *file, | |||
1218 | * not available to a SMACK64MMAP subject | 1218 | * not available to a SMACK64MMAP subject |
1219 | * deny access. | 1219 | * deny access. |
1220 | */ | 1220 | */ |
1221 | if ((may | mmay) != may) { | 1221 | if ((may | mmay) != mmay) { |
1222 | rc = -EACCES; | 1222 | rc = -EACCES; |
1223 | break; | 1223 | break; |
1224 | } | 1224 | } |