mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 14:42:11 +00:00
EXP [NTOS] Fix flags stuff in ObpCreateUnnamedHandle
This commit is contained in:
parent
d1517f9df3
commit
29b42d0d1f
1 changed files with 5 additions and 0 deletions
|
@ -1395,6 +1395,11 @@ ObpCreateUnnamedHandle(IN PVOID Object,
|
||||||
|
|
||||||
/* Save the access mask */
|
/* Save the access mask */
|
||||||
NewEntry.GrantedAccess = GrantedAccess;
|
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
|
* Create the actual handle. We'll need to do this *after* calling
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue