[apparmor] [PATCH 03/18] apparmor: fix error code to failure message mapping for name lookup

John Johansen john.johansen at canonical.com
Mon Jul 30 23:32:19 UTC 2012


On 07/30/2012 03:44 PM, Steve Beattie wrote:
> On Thu, Jul 26, 2012 at 09:28:01PM -0700, John Johansen wrote:
>> -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 at canonical.com>
> Acked-By: Steve Beattie <sbeattie at ubuntu.com>
> 
> Do we need to keep the reverse of this patch around for kernel patch set
> against older trees?
> 
I am not aware of any userspace tools that actually use the error code to
distinguish between failures atm so I don't think so





More information about the AppArmor mailing list