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



Eric Haszlakiewicz <erh%nimenees.com@localhost> wrote:

> >From extattr(9):
> "The semantics of this additional data is ... zero or more bytes of arbitrary
>  binary data."

Right, I agree I have to revert to one byte size leading a non-NULL
terminated strings for extattr_list_file()

The question remain: how do we produce the Linux/MacOS X/FUSE flavor
with NUL terminated strings? It seems the best way is to add a flavor
argument to VOP_LISTEXTATTR and let the filesystem do the job. 

I have one concern though: I try to make all that stuff
(gluserfs/perfuse) working on netbsd-5, and modifying VOP_LISTEXTATTR
means a huge pull up.

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


Home | Main Index | Thread Index | Old Index