[NTOS:PS]

- Use the correct generic mapping for threads in NtOpenThread

svn path=/trunk/; revision=70147
This commit is contained in:
Thomas Faber 2015-11-27 08:49:57 +00:00
parent 744f48413b
commit 80ecc1e76f

View file

@ -1081,7 +1081,7 @@ NtOpenThread(OUT PHANDLE ThreadHandle,
Status = SeCreateAccessState(&AccessState,
&AuxData,
DesiredAccess,
&PsProcessType->TypeInfo.GenericMapping);
&PsThreadType->TypeInfo.GenericMapping);
if (!NT_SUCCESS(Status)) return Status;
/* Check if this is a debugger */