summaryrefslogtreecommitdiffstats
path: root/security/smack/smack_lsm.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2013-11-28 19:16:46 +0200
committerCasey Schaufler <casey@schaufler-ca.com>2013-12-11 10:48:55 -0800
commit398ce073700a2a3e86b5a0b1edecdddfa3996b27 (patch)
tree81ebb8780ddfdd38590e1f5ba578a0aa087181b1 /security/smack/smack_lsm.c
parent217091dd7a7a1bdac027ddb7c5a25f6ac0b8e241 (diff)
downloadop-kernel-dev-398ce073700a2a3e86b5a0b1edecdddfa3996b27.zip
op-kernel-dev-398ce073700a2a3e86b5a0b1edecdddfa3996b27.tar.gz
smack: fix: allow either entry be missing on access/access2 check (v2)
This is a regression caused by f7112e6c. When either subject or object is not found the answer for access should be no. This patch fixes the situation. '0' is written back instead of failing with -EINVAL. v2: cosmetic style fixes Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'security/smack/smack_lsm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud