tech-kern archive

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

Re: extended attributes and lsextattr/extattr_list_file



YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> wrote:

> > We will need some macro to discover what API is available: FreeBSD-line
> > in 5.x and Linux-like in 6.0.
> i was assuming we have no releases on which the freebsd-style API is
> actually usable.  it it wrong?

Yes, you are right. 

I committed code in glusterfs that used it, but it is #ifndef
HAVE_SYS_XATTR_H, therefore that will automatically revert to
Linux-style API when <sys/xattr.h> is availale.

Therefore we have no problem.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index