smack: fix: allow either entry be missing on access/access2 check (v2)
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 28 Nov 2013 17:16:46 +0000 (19:16 +0200)
committerCasey Schaufler <casey@schaufler-ca.com>
Wed, 11 Dec 2013 18:48:55 +0000 (10:48 -0800)
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>

No differences found