John Johansen ef9a762279 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 <john.johansen@canonical.com>
2012-03-14 06:14:52 -07:00
..
2012-02-14 10:45:42 +11:00
2012-02-14 10:45:42 +11:00
2012-02-16 10:25:18 +11:00
2012-02-14 10:45:42 +11:00
2012-01-10 10:20:35 -05:00
2012-02-10 09:18:52 +11:00
2012-02-10 09:18:52 +11:00
2012-02-14 10:45:42 +11:00