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