Add VALLPERM, which is a mask of all the access control request permission

bits for vnodes passed to vaccess() and friends.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
This commit is contained in:
Robert Watson 2002-07-22 03:51:09 +00:00
parent 230d10f631
commit ccac0940e1

View File

@ -250,6 +250,7 @@ struct vattr {
#define VADMIN 010000 /* permission to administer */
#define VSTAT 020000 /* permission to retrieve attrs */
#define VAPPEND 040000 /* permission to write/append */
#define VALLPERM (VEXEC | VWRITE | VREAD | VADMIN | VSTAT | VAPPEND)
/*
* Token indicating no attribute value yet assigned.