From c578ffd6e110dce1199cb540aa12951448b6e570 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 22 Jul 2002 03:51:09 +0000 Subject: [PATCH] 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 --- sys/sys/vnode.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index edd8d66f5a15..c75122e58b00 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -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.