mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:42:59 +00:00
Don't force a security descriptor to have an owner
svn path=/trunk/; revision=24532
This commit is contained in:
parent
842f4cfb17
commit
09da758c64
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ SeAccessCheck(IN PSECURITY_DESCRIPTOR SecurityDescriptor,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SepSidInToken(Token, Sid))
|
if (Sid && SepSidInToken(Token, Sid))
|
||||||
{
|
{
|
||||||
CurrentAccess |= (READ_CONTROL | WRITE_DAC);
|
CurrentAccess |= (READ_CONTROL | WRITE_DAC);
|
||||||
if (DesiredAccess == CurrentAccess)
|
if (DesiredAccess == CurrentAccess)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue