From owner-cvs-all Tue Aug 8 10:15:37 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 75FA937B93C; Tue, 8 Aug 2000 10:15:34 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA52163; Tue, 8 Aug 2000 10:15:33 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Message-Id: <200008081715.KAA52163@freefall.freebsd.org> From: Robert Watson Date: Tue, 8 Aug 2000 10:15:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c src/sys/sys vnode.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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