mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NTOS:OB] Return handle attributes by ObReferenceFileObjectForWrite (#9213)
Resolve a FIXME in ObReferenceFileObjectForWrite by getting the handle attributes, the same way it's done in other parts of the Ob code.
This commit is contained in:
+1
-2
@@ -263,8 +263,7 @@ ObReferenceFileObjectForWrite(IN HANDLE Handle,
|
||||
|
||||
HandleInformation->GrantedAccess = GrantedAccess;
|
||||
|
||||
/* FIXME: Get handle attributes */
|
||||
HandleInformation->HandleAttributes = 0;
|
||||
HandleInformation->HandleAttributes = HandleEntry->ObAttributes & OBJ_HANDLE_ATTRIBUTES;
|
||||
|
||||
/* Do granted and desired access match? */
|
||||
if (GrantedAccess & DesiredAccess)
|
||||
|
||||
Reference in New Issue
Block a user