]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SMACK: Use smk_tskacc() instead of smk_access() for proper logging
authorHimanshu Shukla <himanshu.sh@samsung.com>
Wed, 23 Nov 2016 06:29:45 +0000 (11:59 +0530)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 10 Jan 2017 17:47:20 +0000 (09:47 -0800)
commitc9d238a18baa92600ba015d6d6c2cde53f55c572
tree291ae085ac1723cd566d16f3d9f657e17e85c4c3
parent348dc288d4bf4c0272a46a80f97748f36916601b
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>
security/smack/smack_lsm.c