summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_acl.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/ntapi/nt_acl.h b/include/ntapi/nt_acl.h
index 0eb6e35..0ae8509 100644
--- a/include/ntapi/nt_acl.h
+++ b/include/ntapi/nt_acl.h
@@ -106,4 +106,43 @@ typedef struct _nt_system_mandatory_label_ace {
uint32_t sid_start;
} nt_system_mandatory_label_ace;
+/* helper structures */
+typedef struct _nt_sd_common_data {
+ nt_sd sd;
+ nt_sid_any owner;
+ nt_sid_any group;
+ nt_acl dacl;
+ nt_access_allowed_ace system_ace;
+ nt_sid_os system_sid;
+ nt_access_allowed_ace owner_ace;
+ nt_sid_any owner_sid;
+ nt_access_allowed_ace group_ace;
+ nt_sid_any group_sid;
+ nt_access_allowed_ace other_ace;
+ nt_sid_any other_sid;
+} nt_sd_common_data;
+
+typedef struct _nt_sd_common_meta {
+ nt_sd * sd;
+ nt_sid * owner;
+ nt_sid * group;
+ nt_acl * dacl;
+ nt_access_allowed_ace * system_ace;
+ nt_sid * system_sid;
+ nt_access_allowed_ace * owner_ace;
+ nt_sid * owner_sid;
+ nt_access_allowed_ace * group_ace;
+ nt_sid * group_sid;
+ nt_access_allowed_ace * other_ace;
+ nt_sid * other_sid;
+} nt_sd_common_meta;
+
+typedef struct _nt_sd_common_buffer {
+ nt_sd sd;
+ nt_sid_any owner;
+ nt_sid_any group;
+ nt_acl dacl;
+ uint32_t buffer[64];
+} nt_sd_common_buffer;
+
#endif