forked from Mirrors/wine-wine
![]() On Windows, processes are not reassigned to pid 1 when their parent
dies. This means many processes could have the same ppid despite being
started by unrelated processes. It also means test_Toolhelp() cannot
reliably look up the nested process by its ppid.
So look up for the nested process by its pid and only then check its
ppid, executable file, etc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48664
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
Makefile.in | ||
actctx.c | ||
atom.c | ||
change.c | ||
codepage.c | ||
comm.c | ||
console.c | ||
debugger.c | ||
directory.c | ||
drive.c | ||
dummy.c | ||
dummy.spec | ||
environ.c | ||
fiber.c | ||
file.c | ||
format_msg.c | ||
generated.c | ||
heap.c | ||
loader.c | ||
locale.c | ||
mailslot.c | ||
module.c | ||
path.c | ||
pipe.c | ||
power.c | ||
process.c | ||
profile.c | ||
resource.c | ||
resource.rc | ||
sync.c | ||
thread.c | ||
time.c | ||
timer.c | ||
toolhelp.c | ||
version.c | ||
virtual.c | ||
volume.c |