Date: Tue, 8 Aug 2000 10:15:33 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c src/sys/sys vnode.h Message-ID: <200008081715.KAA52163@freefall.freebsd.org>
index | next in thread | raw e-mail
rwatson 2000/08/08 10:15:33 PDT
Modified files:
sys/kern vfs_vnops.c
sys/sys vnode.h
Log:
o Introduce vn_extattr_{get,set}, wrapper routines for VOP_GETEXTATTR
and VOP_SETEXTATTR to simplify calling from in-kernel consumers,
such as capability code. Both accept a vnode (optionally locked,
with ioflg to indicate that), attribute name, and a buffer + buffer
length in UIO_SYSSPACE. Both authorize the call as a kernel request,
with cred set to NULL for the actual VOP_ calls.
Obtained from: TrustedBSD Project
Revision Changes Path
1.100 +75 -1 src/sys/kern/vfs_vnops.c
1.121 +5 -1 src/sys/sys/vnode.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008081715.KAA52163>
