apparmor: fix error code to failure message mapping for name lookup
authorJohn Johansen <john.johansen@canonical.com>
Tue, 19 Feb 2013 00:02:34 +0000 (16:02 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 28 Apr 2013 07:35:40 +0000 (00:35 -0700)
commite573cc30bb36df23fb49a29d96e6c6333d17f59c
treee86a839b98a6d60c1e6a645a460f0fe1687e2595
parent50c5ecd5d8ffb0e549676b8fd9781e3b2fd751a0
apparmor: fix error code to failure message mapping for name lookup

-ESTALE used to be incorrectly used to indicate a disconnected path, when
name lookup failed.  This was fixed in commit e1b0e444 to correctly return
-EACCESS, but the error to failure message mapping was not correctly updated
to reflect this change.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Steve Beattie <sbeattie@ubuntu.com>
security/apparmor/path.c