diff options
author | John Johansen <john.johansen@canonical.com> | 2012-03-10 20:19:51 +0100 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2012-03-14 14:14:52 +0100 |
commit | ef9a762279c9ce98c592fb144b31898411feb94d (patch) | |
tree | 4cb159b99e792781af212324aee7c8be4b549c38 /arch/c6x | |
parent | KEYS: testing wrong bit for KEY_FLAG_REVOKED (diff) | |
download | linux-ef9a762279c9ce98c592fb144b31898411feb94d.tar.xz linux-ef9a762279c9ce98c592fb144b31898411feb94d.zip |
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>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions