mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +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
|
* Gunnar Dalsnes
|
||||||
* Eric Kohl
|
* Eric Kohl
|
||||||
* Filip Navara (navaraf@reactos.org)
|
* Filip Navara (navaraf@reactos.org)
|
||||||
|
* Pierre Schweitzer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* INCLUDES *****************************************************************/
|
/* INCLUDES *****************************************************************/
|
||||||
|
@ -431,7 +432,7 @@ IopParseDevice(IN PVOID ParseObject,
|
||||||
{
|
{
|
||||||
/* Update access state */
|
/* Update access state */
|
||||||
AccessState->PreviouslyGrantedAccess |= GrantedAccess;
|
AccessState->PreviouslyGrantedAccess |= GrantedAccess;
|
||||||
AccessState->RemainingDesiredAccess &= ~(GrantedAccess &
|
AccessState->RemainingDesiredAccess &= ~(GrantedAccess |
|
||||||
MAXIMUM_ALLOWED);
|
MAXIMUM_ALLOWED);
|
||||||
OpenPacket->Override= TRUE;
|
OpenPacket->Override= TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue