ntdll: Don't change granted access mask on error.
This commit is contained in:
parent
bc85a34f50
commit
11b54bfe87
@ -1527,9 +1527,11 @@ NtAccessCheck(
|
||||
PrivilegeSet->PrivilegeCount = reply->privileges_len / sizeof(LUID_AND_ATTRIBUTES);
|
||||
|
||||
if (status == STATUS_SUCCESS)
|
||||
{
|
||||
*AccessStatus = reply->access_status;
|
||||
*GrantedAccess = reply->access_granted;
|
||||
}
|
||||
}
|
||||
SERVER_END_REQ;
|
||||
|
||||
return status;
|
||||
|
Loading…
x
Reference in New Issue
Block a user