-
Jinoh Kang authored
Today, Wine uses NtQueryInformationProcess/ProcessDebugPort to detect whether the current process is being debugged. If it is, the process issues a breakpoint to yield control to the debugger. Some debuggers (e.g. latest CDB) appear to create debug handles with restricted DACL, which causes querying debug port to fail with STATUS_ACCESS_DENIED. This results in the debuggee erroneously skipping the initial breakpoint. Fix this by not requiring DEBUG_ALL_ACCESS when opening the debug port object. Instead, use MAXIMUM_ALLOWED for the access mask. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52184Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
3e2f4430
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.in | ||
atom.c | ||
change.c | ||
directory.c | ||
env.c | ||
error.c | ||
exception.c | ||
file.c | ||
generated.c | ||
info.c | ||
large_int.c | ||
ntdll_test.h | ||
om.c | ||
path.c | ||
pipe.c | ||
port.c | ||
reg.c | ||
rtl.c | ||
rtlbitmap.c | ||
rtlstr.c | ||
string.c | ||
sync.c | ||
thread.c | ||
threadpool.c | ||
time.c | ||
virtual.c | ||
wow64.c |