coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "ls -l": Avoid unnecessary getxattr() overhead


From: Sven Breuner
Subject: Re: "ls -l": Avoid unnecessary getxattr() overhead
Date: Tue, 07 Feb 2012 00:32:42 +0100
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0) Gecko/20120129 Thunderbird/10.0

Pádraig Brady wrote on 02/06/2012 09:06 PM:
This seems to have some related info.
https://bugzilla.redhat.com/show_bug.cgi?id=662011
We might be able to cache something.
We'll investigate.

Thanks, Pádraig.

I assume that bugzilla report is only related on a very abstract level:
The reporter of that ticket is suggesting special behavior after a getxattr(acl_stuff) call returned ENODATA, in which case following getxattr(acl_stuff) calls might of course have other results.

I'm referring to getxattr(acl_stuff) calls that return EOPNOTSUPP, because the file system does not support ACLs / extended attributes, in which case all following getxattr(acl_stuff) calls will definitely have the same result (plus the other lgetxattr(selinux_stuff) calls, which simply cannot provide any interesting information when selinux is completely disabled on a machine).

Best regards,
Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]