diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2013-11-28 12:16:46 -0500 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2013-12-11 13:48:55 -0500 |
commit | 398ce073700a2a3e86b5a0b1edecdddfa3996b27 (patch) | |
tree | 81ebb8780ddfdd38590e1f5ba578a0aa087181b1 /security/smack/smack_lsm.c | |
parent | 217091dd7a7a1bdac027ddb7c5a25f6ac0b8e241 (diff) |
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