https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e2ee126c234f3645bdc96…
commit e2ee126c234f3645bdc965b027c649900cbbd7e1
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Sun Nov 6 17:46:04 2022 +0100
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Tue Nov 8 18:24:37 2022 +0100
[NTOS:SE] Add new ACE types for SepGetSidFromAce routine
---
ntoskrnl/se/sid.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/ntoskrnl/se/sid.c b/ntoskrnl/se/sid.c
index 3d4d8931a15..3d0dff1a8ab 100644
--- a/ntoskrnl/se/sid.c
+++ b/ntoskrnl/se/sid.c
@@ -616,8 +616,23 @@ SepGetSidFromAce(
break;
}
+ case SYSTEM_AUDIT_ACE_TYPE:
+ {
+ Sid = (PSID)&((PSYSTEM_AUDIT_ACE)Ace)->SidStart;
+ break;
+ }
+
+ case SYSTEM_ALARM_ACE_TYPE:
+ {
+ Sid = (PSID)&((PSYSTEM_ALARM_ACE)Ace)->SidStart;
+ break;
+ }
+
default:
+ {
+ DPRINT1("SepGetSidFromAce(): Unknown ACE type (Ace 0x%p, Type
%u)\n", Ace, AceType);
break;
+ }
}
return Sid;