From: Jarkko Sakkinen Date: Thu, 28 Nov 2013 17:16:46 +0000 (+0200) Subject: smack: fix: allow either entry be missing on access/access2 check (v2) X-Git-Tag: v3.14-rc1~147^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398ce073700a2a3e86b5a0b1edecdddfa3996b27;p=pandora-kernel.git 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 --- Reading git-diff-tree failed