mirror of
https://github.com/reactos/reactos.git
synced 2024-05-17 10:52:07 +00:00
EXP [NTOS] Fix flags stuff in ObpCreateUnnamedHandle
This commit is contained in:
parent
d1517f9df3
commit
29b42d0d1f
|
@ -1395,6 +1395,11 @@ ObpCreateUnnamedHandle(IN PVOID Object,
|
|||
|
||||
/* Save the access mask */
|
||||
NewEntry.GrantedAccess = GrantedAccess;
|
||||
if (NewEntry.ObAttributes & OBJ_PROTECT_CLOSE)
|
||||
{
|
||||
NewEntry.GrantedAccess |= ObpAccessProtectCloseBit;
|
||||
NewEntry.ObAttributes &= ~OBJ_PROTECT_CLOSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Create the actual handle. We'll need to do this *after* calling
|
||||
|
|
Loading…
Reference in a new issue