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

Re: libacl.so.1 => not found dead, long live unimplemented getxattr



On Wed, Sep 03, 2003 at 03:32:40AM -0400 Ted Unangst hacked thusly:
> On Wed, 2 Sep 2003, Greg Steuck wrote:
> 
> > But I guess this is to be expected given that getxattr call is not
> > implemented. I should try my hand in stubbing getxattr with something
> > that returns ENOATTR, per Linux getxattr(2):
> > 
> >  If  the named attribute does not exist, or the process has no access to
> >  this attribute, errno is set to ENOATTR.
> 
> riddle me this, batman:  what's ENOATTR?  it's not defined in 2.5.59, 
> which i have handy, but looks like they just use -EOPNOSUPP.  it's too 
> early for redhat to be shipping 2.6, if it's even there.  man page reading 
> the future perhaps?
B
> 
> preliminary attempt.  we can probably map most of these calls to the 
> EXTATTR stuff, but that's disabled by default.

All of this functionality is provided by a 3rd party posix extended acl 
patches that are part of the default redhat distro since 8.0. This is hardly 
stock Linux kernel stuff.

The patches can be found at http://acl.bestbits.at