mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:SE] Explicitly check the auto inherit flags right away
As we now have the SEF_* flags declared within the SDK we can simply check for such flags directly wihout having to check for the hard-coded flag values.
This commit is contained in:
parent
58c42afec2
commit
d7255f1584
1 changed files with 2 additions and 2 deletions
|
@ -1285,7 +1285,7 @@ SeAssignSecurityEx(
|
|||
}
|
||||
if (!Owner)
|
||||
{
|
||||
if (AutoInheritFlags & 0x20 /* FIXME: SEF_DEFAULT_OWNER_FROM_PARENT */)
|
||||
if (AutoInheritFlags & SEF_DEFAULT_OWNER_FROM_PARENT)
|
||||
{
|
||||
DPRINT("Use parent owner sid!\n");
|
||||
if (!ARGUMENT_PRESENT(ParentDescriptor))
|
||||
|
@ -1317,7 +1317,7 @@ SeAssignSecurityEx(
|
|||
}
|
||||
if (!Group)
|
||||
{
|
||||
if (AutoInheritFlags & 0x40 /* FIXME: SEF_DEFAULT_GROUP_FROM_PARENT */)
|
||||
if (AutoInheritFlags & SEF_DEFAULT_GROUP_FROM_PARENT)
|
||||
{
|
||||
DPRINT("Use parent group sid!\n");
|
||||
if (!ARGUMENT_PRESENT(ParentDescriptor))
|
||||
|
|
Loading…
Reference in a new issue