Sweden-Number/server
Jinoh Kang 3e2f443003 server: Fix querying debug port with restricted DACL.
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=52184
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-09 17:14:59 +01:00
..
Makefile.in server: Implement vm counters on FreeBSD. 2021-11-19 18:59:02 +01:00
async.c ntdll: Do not fill the IOSB if a device IRP failed synchronously. 2021-09-14 18:30:17 +02:00
atom.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
change.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
class.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
clipboard.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
completion.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
console.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
debugger.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
device.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
directory.c server: Implement the \??\GLOBALROOT symbolic link. 2021-11-25 21:43:49 +01:00
event.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
fd.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
file.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
file.h ntoskrnl: Report the initial status of an IRP separately from the IOSB status. 2021-09-13 11:32:18 +02:00
handle.c ntdll: Implement NtCompareObjects. 2021-11-29 23:25:46 +01:00
handle.h server: Inherit standard handles together with explicit handle list. 2020-09-29 21:04:13 +02:00
hook.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
mach.c server: Remove workarounds for Mac OS X 10.4. 2021-12-02 09:50:46 +01:00
mailslot.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
main.c server: Avoid using getopt_long(). 2021-10-05 11:53:08 +02:00
mapping.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
mutex.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
named_pipe.c server: Return ReadDataAvailable value for FilePipeLocalInformation. 2021-12-06 22:55:07 +01:00
object.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
object.h server: Implement the \??\GLOBALROOT symbolic link. 2021-11-25 21:43:49 +01:00
process.c server: Fix querying debug port with restricted DACL. 2021-12-09 17:14:59 +01:00
process.h server: Wait for process exit more often and using increasing delay. 2021-11-12 22:42:51 +01:00
procfs.c server: Add a platform-specific entry point to initialize registers of a new thread. 2017-07-27 17:04:04 +02:00
protocol.def ntdll: Support THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER thread creation flag. 2021-12-06 12:20:34 +01:00
ptrace.c server: Remove dr7 PTRACE_POKEUSER workaround. 2021-10-29 21:24:46 +02:00
queue.c server: Also queue hotkey message for WM_SYSKEYDOWN. 2021-11-02 17:09:39 +01:00
region.c server: Map region to the window DPI in redraw_region(). 2018-08-24 20:12:05 +02:00
registry.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
request.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
request.h ntdll: Support THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER thread creation flag. 2021-12-06 12:20:34 +01:00
security.h server: Fix missing include for uid_t. 2021-11-15 12:07:44 +01:00
semaphore.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
serial.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
signal.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
sock.c configure: Stop checking for poll.h and sys/poll.h - always use poll.h. 2021-10-31 17:56:54 +01:00
symlink.c server: Implement the \??\GLOBALROOT symbolic link. 2021-11-25 21:43:49 +01:00
thread.c server: FreeBSD 14-CURRENT's sched_setaffinity() needs _WITH_CPU_SET_T defined. 2021-12-07 21:55:16 +01:00
thread.h ntdll: Avoid accessing the I/O status block in wait_async(). 2021-05-24 11:32:28 +02:00
timer.c server: Avoid using wine/port.h. 2021-10-07 18:03:11 +02:00
token.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00
trace.c ntdll: Support THREAD_CREATE_FLAGS_HIDE_FROM_DEBUGGER thread creation flag. 2021-12-06 12:20:34 +01:00
unicode.c server: Use sysctl instead of /proc/curproc/file on FreeBSD. 2021-10-25 18:50:59 +02:00
unicode.h server: Create the NLS section object for the l_intl.nls file. 2020-11-27 18:28:35 +01:00
user.c
user.h server: Track desktop users per thread instead of per process. 2021-04-21 21:00:33 +02:00
window.c user32: Fix window style while CBT_CREATEWND hook is called. 2021-10-07 18:03:12 +02:00
wineserver.de.UTF-8.man.in server: Move WineHQ URLs to https. 2017-12-01 09:23:26 +01:00
wineserver.fr.UTF-8.man.in server: Move WineHQ URLs to https. 2017-12-01 09:23:26 +01:00
wineserver.man.in server: Move WineHQ URLs to https. 2017-12-01 09:23:26 +01:00
winstation.c server: Add sys/types.h include in a few more files. 2021-10-11 11:44:02 +02:00