Commit 11b54bfe authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

ntdll: Don't change granted access mask on error.

parent bc85a34f
...@@ -1527,9 +1527,11 @@ NtAccessCheck( ...@@ -1527,9 +1527,11 @@ NtAccessCheck(
PrivilegeSet->PrivilegeCount = reply->privileges_len / sizeof(LUID_AND_ATTRIBUTES); PrivilegeSet->PrivilegeCount = reply->privileges_len / sizeof(LUID_AND_ATTRIBUTES);
if (status == STATUS_SUCCESS) if (status == STATUS_SUCCESS)
{
*AccessStatus = reply->access_status; *AccessStatus = reply->access_status;
*GrantedAccess = reply->access_granted; *GrantedAccess = reply->access_granted;
} }
}
SERVER_END_REQ; SERVER_END_REQ;
return status; return status;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment