From: John Johansen Date: Sat, 10 Mar 2012 19:19:51 +0000 (-0800) Subject: AppArmor: Fix error returned when a path lookup is disconnected X-Git-Tag: v3.4-rc1~165^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9a762279c9ce98c592fb144b31898411feb94d;p=pandora-kernel.git AppArmor: Fix error returned when a path lookup is disconnected The returning of -ESATLE when a path lookup fails as disconnected is wrong. Since AppArmor is rejecting the access return -EACCES instead. This also fixes a bug in complain (learning) mode where disconnected paths are denied because -ESTALE errors are not ignored causing failures that can change application behavior. Signed-off-by: John Johansen --- Reading git-diff-tree failed