mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
[NTOS:SE]
Add a missing ACE(SeAliasAdminsSid / GENERIC_ALL) to the SePublicDefaultDacl ACL. This fixes a kmtest:ObSecurity failure. svn path=/trunk/; revision=74050
This commit is contained in:
parent
4c03c1a55a
commit
81b072cc64
1 changed files with 7 additions and 1 deletions
|
@ -38,7 +38,8 @@ SepInitDACLs(VOID)
|
||||||
/* create PublicDefaultDacl */
|
/* create PublicDefaultDacl */
|
||||||
AclLength = sizeof(ACL) +
|
AclLength = sizeof(ACL) +
|
||||||
(sizeof(ACE) + RtlLengthSid(SeWorldSid)) +
|
(sizeof(ACE) + RtlLengthSid(SeWorldSid)) +
|
||||||
(sizeof(ACE) + RtlLengthSid(SeLocalSystemSid));
|
(sizeof(ACE) + RtlLengthSid(SeLocalSystemSid)) +
|
||||||
|
(sizeof(ACE) + RtlLengthSid(SeAliasAdminsSid));
|
||||||
|
|
||||||
SePublicDefaultDacl = ExAllocatePoolWithTag(PagedPool,
|
SePublicDefaultDacl = ExAllocatePoolWithTag(PagedPool,
|
||||||
AclLength,
|
AclLength,
|
||||||
|
@ -60,6 +61,11 @@ SepInitDACLs(VOID)
|
||||||
GENERIC_ALL,
|
GENERIC_ALL,
|
||||||
SeLocalSystemSid);
|
SeLocalSystemSid);
|
||||||
|
|
||||||
|
RtlAddAccessAllowedAce(SePublicDefaultDacl,
|
||||||
|
ACL_REVISION,
|
||||||
|
GENERIC_ALL,
|
||||||
|
SeAliasAdminsSid);
|
||||||
|
|
||||||
/* create PublicDefaultUnrestrictedDacl */
|
/* create PublicDefaultUnrestrictedDacl */
|
||||||
AclLength = sizeof(ACL) +
|
AclLength = sizeof(ACL) +
|
||||||
(sizeof(ACE) + RtlLengthSid(SeWorldSid)) +
|
(sizeof(ACE) + RtlLengthSid(SeWorldSid)) +
|
||||||
|
|
Loading…
Reference in a new issue