mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 20:38:48 +02:00
Merge branch 'wip/abono/ifdef-ptrace-o-exitkill' into 'main'
tests/gsubprocess: Don't rely on PTRACE_O_EXITKILL presence Closes #3128 See merge request GNOME/glib!3588
This commit is contained in:
commit
bda8726437
@ -2006,7 +2006,9 @@ trace_children (pid_t main_child)
|
|||||||
g_assert_no_errno (waitpid (main_child, &wstatus, 0));
|
g_assert_no_errno (waitpid (main_child, &wstatus, 0));
|
||||||
g_assert_no_errno (ptrace (PTRACE_SETOPTIONS, main_child, NULL,
|
g_assert_no_errno (ptrace (PTRACE_SETOPTIONS, main_child, NULL,
|
||||||
(PTRACE_O_TRACEFORK |
|
(PTRACE_O_TRACEFORK |
|
||||||
|
#ifdef PTRACE_O_EXITKILL
|
||||||
PTRACE_O_EXITKILL |
|
PTRACE_O_EXITKILL |
|
||||||
|
#endif
|
||||||
PTRACE_O_TRACEVFORK |
|
PTRACE_O_TRACEVFORK |
|
||||||
PTRACE_O_TRACECLONE |
|
PTRACE_O_TRACECLONE |
|
||||||
PTRACE_O_TRACEEXEC)));
|
PTRACE_O_TRACEEXEC)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user