Add vop_listextattr(), similar to vop_getextattr() but without a

specific attribute name.  It will have the same semantics as the
older vop_getextattr() "retrieve the names" hack, returning
a buffer with ASCII nul-seperated names.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
Robert Watson 2003-06-05 05:53:35 +00:00
parent b6bf7843a3
commit a6f1342ff6

View File

@ -544,6 +544,18 @@ vop_getextattr {
IN struct thread *td;
};
#
#% listextattr vp L L L
#
vop_listextattr {
IN struct vnode *vp;
IN int attrnamespace;
INOUT struct uio *uio;
OUT size_t *size;
IN struct ucred *cred;
IN struct thread *td;
};
#
#% openextattr vp L L L
#