From 17fbe4bd3e8ee1bda18e3b3b552cfaa620a551a4 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 27 Mar 2018 02:48:16 +0000 Subject: acl common descriptor: allow setting admin access. --- include/ntapi/nt_acl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/ntapi/nt_acl.h') diff --git a/include/ntapi/nt_acl.h b/include/ntapi/nt_acl.h index ae04b0e..fac3109 100644 --- a/include/ntapi/nt_acl.h +++ b/include/ntapi/nt_acl.h @@ -120,6 +120,8 @@ typedef struct _nt_sd_common_data { nt_sid_any group_sid; nt_access_allowed_ace other_ace; nt_sid_any other_sid; + nt_access_allowed_ace admin_ace; + nt_sid_any admin_sid; } nt_sd_common_data; typedef struct _nt_sd_common_meta { @@ -135,6 +137,8 @@ typedef struct _nt_sd_common_meta { nt_sid * group_sid; nt_access_allowed_ace * other_ace; nt_sid * other_sid; + nt_access_allowed_ace * admin_ace; + nt_sid * admin_sid; } nt_sd_common_meta; typedef struct _nt_sd_common_buffer { @@ -142,7 +146,7 @@ typedef struct _nt_sd_common_buffer { nt_sid_any owner; nt_sid_any group; nt_acl dacl; - uint32_t buffer[64]; + uint32_t buffer[80]; } nt_sd_common_buffer; @@ -152,9 +156,11 @@ typedef void __stdcall ntapi_acl_init_common_descriptor( __in const nt_sid * owner, __in const nt_sid * group, __in const nt_sid * other, + __in const nt_sid * admin, __in uint32_t owner_access, __in uint32_t group_access, __in uint32_t other_access, + __in uint32_t admin_access, __in uint32_t system_access); #endif -- cgit v1.2.3