summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-06-05 05:53:35 +0000
committerrwatson <rwatson@FreeBSD.org>2003-06-05 05:53:35 +0000
commit9c43f2f46e63ba02659361780174ad82780a69cd (patch)
treeb74dbec767fe5dd18cbd98f250984d1f0424b646 /sys
parent739c7fe8f518c602cb9f4909c58b694dd70f4efe (diff)
downloadFreeBSD-src-9c43f2f46e63ba02659361780174ad82780a69cd.zip
FreeBSD-src-9c43f2f46e63ba02659361780174ad82780a69cd.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vnode_if.src12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index f62d0ac..950928b 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -545,6 +545,18 @@ vop_getextattr {
};
#
+#% 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
#
vop_openextattr {
OpenPOWER on IntegriCloud