summaryrefslogtreecommitdiffstats
path: root/security/commoncap.c
diff options
context:
space:
mode:
authorHimanshu Shukla <himanshu.sh@samsung.com>2016-11-23 11:59:45 +0530
committerCasey Schaufler <casey@schaufler-ca.com>2017-01-10 09:47:20 -0800
commitc9d238a18baa92600ba015d6d6c2cde53f55c572 (patch)
tree291ae085ac1723cd566d16f3d9f657e17e85c4c3 /security/commoncap.c
parent348dc288d4bf4c0272a46a80f97748f36916601b (diff)
downloadlinux-c9d238a18baa92600ba015d6d6c2cde53f55c572.tar.gz
linux-c9d238a18baa92600ba015d6d6c2cde53f55c572.tar.bz2
linux-c9d238a18baa92600ba015d6d6c2cde53f55c572.zip
SMACK: Use smk_tskacc() instead of smk_access() for proper logging
smack_file_open() is first checking the capability of calling subject, this check will skip the SMACK logging for success case. Use smk_tskacc() for proper logging and SMACK access check. Signed-off-by: Himanshu Shukla <himanshu.sh@samsung.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions