mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
sys/acl.h: move main typedefs to sys/_types.h
Make __ prefixed versions available without the pollution of sys/acl.h (and by extension sys/param.h). Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44382
This commit is contained in:
parent
d0efabdf15
commit
55513a1b6e
|
@ -187,6 +187,15 @@ typedef struct {
|
|||
#endif
|
||||
} __max_align_t;
|
||||
|
||||
/* Types for sys/acl.h */
|
||||
typedef __uint32_t __acl_tag_t;
|
||||
typedef __uint32_t __acl_perm_t;
|
||||
typedef __uint16_t __acl_entry_type_t;
|
||||
typedef __uint16_t __acl_flag_t;
|
||||
typedef __uint32_t __acl_type_t;
|
||||
typedef __uint32_t *__acl_permset_t;
|
||||
typedef __uint16_t *__acl_flagset_t;
|
||||
|
||||
typedef __uint64_t __dev_t; /* device number */
|
||||
|
||||
typedef __uint32_t __fixpt_t; /* fixed point number */
|
||||
|
|
|
@ -44,13 +44,13 @@
|
|||
* POSIX.1e and NFSv4 ACL types and related constants.
|
||||
*/
|
||||
|
||||
typedef uint32_t acl_tag_t;
|
||||
typedef uint32_t acl_perm_t;
|
||||
typedef uint16_t acl_entry_type_t;
|
||||
typedef uint16_t acl_flag_t;
|
||||
typedef int acl_type_t;
|
||||
typedef int *acl_permset_t;
|
||||
typedef uint16_t *acl_flagset_t;
|
||||
typedef __acl_tag_t acl_tag_t;
|
||||
typedef __acl_perm_t acl_perm_t;
|
||||
typedef __acl_entry_type_t acl_entry_type_t;
|
||||
typedef __acl_flag_t acl_flag_t;
|
||||
typedef __acl_type_t acl_type_t;
|
||||
typedef __acl_permset_t acl_permset_t;
|
||||
typedef __acl_flagset_t acl_flagset_t;
|
||||
|
||||
/*
|
||||
* With 254 entries, "struct acl_t_struct" is exactly one 4kB page big.
|
||||
|
|
Loading…
Reference in a new issue