mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
readd incorrectly removed access mapping
svn path=/trunk/; revision=14255
This commit is contained in:
parent
4dcc066ed7
commit
561b4db8e9
1 changed files with 3 additions and 0 deletions
|
@ -448,6 +448,9 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RtlMapGenericMask(&DesiredAccess,
|
||||||
|
BODY_TO_HEADER(FileObject)->ObjectType->Mapping);
|
||||||
|
|
||||||
Status = ObInsertObject ((PVOID)FileObject,
|
Status = ObInsertObject ((PVOID)FileObject,
|
||||||
NULL,
|
NULL,
|
||||||
DesiredAccess,
|
DesiredAccess,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue