diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2000-09-21 19:05:30 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2000-09-21 19:05:30 +0000 |
| commit | f0958be4820cfc6805ea553673ddf4727378dfd3 (patch) | |
| tree | 0751eacaaf94a6e111242bbfc38f3923573f34ed /sys | |
| parent | 28994ea06f4dbaf4181643e75931f6e55a8fe6c9 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/sys/acl.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sys/sys/acl.h b/sys/sys/acl.h index 372be98cf7a0e..26d01269149d4 100644 --- a/sys/sys/acl.h +++ b/sys/sys/acl.h @@ -25,7 +25,6 @@ * * $FreeBSD$ */ - /* * Userland/kernel interface for Access Control Lists. * @@ -37,9 +36,11 @@ #define _SYS_ACL_H /* - * POSIX.1e ACL types and related constants + * POSIX.1e ACL types and related constants. */ +#define POSIX1E_ACL_ACCESS_EXTATTR_NAME "$posix1e.acl_access" +#define POSIX1E_ACL_DEFAULT_EXTATTR_NAME "$posix1e.acl_default" #define ACL_MAX_ENTRIES 32 /* maximum entries in an ACL */ #define _POSIX_ACL_PATH_MAX ACL_MAX_ENTRIES @@ -61,7 +62,7 @@ struct acl { typedef struct acl *acl_t; /* - * Possible valid values for a_tag of acl_entry_t + * Possible valid values for a_tag of acl_entry_t. */ #define ACL_USER_OBJ 0x00000001 #define ACL_USER 0x00000002 @@ -72,7 +73,7 @@ typedef struct acl *acl_t; #define ACL_OTHER_OBJ ACL_OTHER /* - * Possible valid values a_type_t arguments + * Possible valid values a_type_t arguments. */ #define ACL_TYPE_ACCESS 0x00000000 #define ACL_TYPE_DEFAULT 0x00000001 @@ -82,7 +83,7 @@ typedef struct acl *acl_t; #define ACL_TYPE_NWFS 0x00000005 /* - * Possible flags in a_perm field + * Possible flags in a_perm field. */ #define ACL_PERM_EXEC 0x0001 #define ACL_PERM_WRITE 0x0002 @@ -94,7 +95,7 @@ typedef struct acl *acl_t; #ifdef _KERNEL /* - * Storage for ACLs and support structures + * Storage for ACLs and support structures. */ #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_ACL); @@ -104,7 +105,7 @@ MALLOC_DECLARE(M_ACL); /* * Syscall interface -- use the library calls instead as the syscalls - * have strict acl entry ordering requirements + * have strict acl entry ordering requirements. */ __BEGIN_DECLS int __acl_aclcheck_fd(int _filedes, acl_type_t _type, struct acl *_aclp); @@ -122,7 +123,7 @@ __END_DECLS * Supported POSIX.1e ACL manipulation and assignment/retrieval API * _np calls are local extensions that reflect an environment capable of * opening file descriptors of directories, and allowing additional - * ACL type for different file systems (i.e., AFS) + * ACL type for different file systems (i.e., AFS). */ __BEGIN_DECLS int acl_delete_fd_np(int _filedes, acl_type_t _type); |
