1 | --- strace.c.orig 2019-06-06 17:04:21.271016482 +0200 |
---|---|
2 | +++ strace.c 2019-06-06 17:04:32.371221549 +0200 |
3 | @@ -1795,9 +1795,9 @@ |
4 | } |
5 | |
6 | if (followfork) |
7 | - ptrace_setoptions |= PTRACE_O_TRACECLONE | |
8 | - PTRACE_O_TRACEFORK | |
9 | - PTRACE_O_TRACEVFORK; |
10 | + ptrace_setoptions |= PTRACE_O_TRACECLONE; |
11 | + |
12 | + |
13 | debug_msg("ptrace_setoptions = %#x", ptrace_setoptions); |
14 | test_ptrace_seize(); |
Paste P8
strace patch to only trace threads with -f.
strace patch to only trace threads with -f.
Authored by werner on Jun 6 2019, 5:07 PM.