Page MenuHomeFreeBSD

D44382.diff
No OneTemporary

D44382.diff

diff --git a/sys/sys/_types.h b/sys/sys/_types.h
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -187,6 +187,15 @@
#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 */
diff --git a/sys/sys/acl.h b/sys/sys/acl.h
--- a/sys/sys/acl.h
+++ b/sys/sys/acl.h
@@ -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.

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 5:30 AM (3 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15730053
Default Alt Text
D44382.diff (1 KB)

Event Timeline