aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2016-04-13 22:30:14 +0000
committerAl Viro <[email protected]>2016-04-23 19:33:03 +0000
commit45987e006c49728611e41d1fc04ff7cc803959f5 (patch)
treeb8045252629110f57bce8c0e5fc703fe5907c5c3 /security/selinux/hooks.c
parentcifs: Fix xattr name checks (diff)
downloadkernel-45987e006c49728611e41d1fc04ff7cc803959f5.tar.gz
kernel-45987e006c49728611e41d1fc04ff7cc803959f5.zip
cifs: Check for equality with ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT
The two values ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT are meant to be enumerations, not bits in a bit mask. Use '==' instead of '&' to check for these values. Signed-off-by: Andreas Gruenbacher <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions