kernelbase: Fix process access rights in DebugActiveProcess().
PROCESS_QUERY_INFORMATION is needed to check the Wow64 status. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
771e9260f8
commit
036f1f3b83
|
@ -91,7 +91,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH DebugActiveProcess( DWORD pid )
|
|||
|
||||
if (!set_ntstatus( DbgUiConnectToDbg() )) return FALSE;
|
||||
if (!(process = OpenProcess( PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_SUSPEND_RESUME |
|
||||
PROCESS_CREATE_THREAD, FALSE, pid )))
|
||||
PROCESS_QUERY_INFORMATION | PROCESS_CREATE_THREAD, FALSE, pid )))
|
||||
return FALSE;
|
||||
status = DbgUiDebugActiveProcess( process );
|
||||
NtClose( process );
|
||||
|
|
Loading…
Reference in New Issue