Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/vnode.h
Show First 20 Lines • Show All 334 Lines • ▼ Show 20 Lines | |||||
#define VREAD_ACL 000020000000 /* read ACL and file mode */ | #define VREAD_ACL 000020000000 /* read ACL and file mode */ | ||||
#define VWRITE_ACL 000040000000 /* change ACL and/or file mode */ | #define VWRITE_ACL 000040000000 /* change ACL and/or file mode */ | ||||
#define VWRITE_OWNER 000100000000 /* change file owner */ | #define VWRITE_OWNER 000100000000 /* change file owner */ | ||||
#define VSYNCHRONIZE 000200000000 /* not used */ | #define VSYNCHRONIZE 000200000000 /* not used */ | ||||
#define VCREAT 000400000000 /* creating new file */ | #define VCREAT 000400000000 /* creating new file */ | ||||
#define VVERIFY 001000000000 /* verification required */ | #define VVERIFY 001000000000 /* verification required */ | ||||
/* | /* | ||||
* Mode flags for the VOP_ALLOCATE() | |||||
*/ | |||||
#define VNA_OP_ALLOC (1 << 0) /* Allocate space */ | |||||
#define VNA_OP_DEALLOC (1 << 1) /* Deallocate space */ | |||||
#define VNA_KEEP_SIZE (1 << 2) /* Do not expand file size */ | |||||
#define VNA_OP_MASK (VNA_OP_ALLOC | VNA_OP_DEALLOC) | |||||
#define VNA_ALL_MFLAGS (VNA_OP_ALLOC | VNA_OP_DEALLOC | VNA_KEEP_SIZE) | |||||
/* | |||||
* Permissions that were traditionally granted only to the file owner. | * Permissions that were traditionally granted only to the file owner. | ||||
*/ | */ | ||||
#define VADMIN_PERMS (VADMIN | VWRITE_ATTRIBUTES | VWRITE_ACL | \ | #define VADMIN_PERMS (VADMIN | VWRITE_ATTRIBUTES | VWRITE_ACL | \ | ||||
VWRITE_OWNER) | VWRITE_OWNER) | ||||
/* | /* | ||||
* Permissions that were traditionally granted to everyone. | * Permissions that were traditionally granted to everyone. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 524 Lines • Show Last 20 Lines |