HomeFreeBSD

o Introduce vn_extattr_{get,set}, wrapper routines for VOP_GETEXTATTR

Description

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

Details

Provenance
rwatsonAuthored on Aug 8 2000, 5:15 PM
Parents
rG320089a04a4e: Insert missing word 'that'.
Branches
Unknown
Tags
Unknown

Event Timeline