mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL] Fix remaining access computation on open
This commit is contained in:
parent
6d0c07c44f
commit
890a293683
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
* Gunnar Dalsnes
|
||||
* Eric Kohl
|
||||
* Filip Navara (navaraf@reactos.org)
|
||||
* Pierre Schweitzer
|
||||
*/
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
@ -431,7 +432,7 @@ IopParseDevice(IN PVOID ParseObject,
|
|||
{
|
||||
/* Update access state */
|
||||
AccessState->PreviouslyGrantedAccess |= GrantedAccess;
|
||||
AccessState->RemainingDesiredAccess &= ~(GrantedAccess &
|
||||
AccessState->RemainingDesiredAccess &= ~(GrantedAccess |
|
||||
MAXIMUM_ALLOWED);
|
||||
OpenPacket->Override= TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue