Page MenuHome GnuPG

strace patch to only trace threads with -f.
ActivePublic

Authored by werner on Jun 6 2019, 5:07 PM.
--- strace.c.orig 2019-06-06 17:04:21.271016482 +0200
+++ strace.c 2019-06-06 17:04:32.371221549 +0200
@@ -1795,9 +1795,9 @@
}
if (followfork)
- ptrace_setoptions |= PTRACE_O_TRACECLONE |
- PTRACE_O_TRACEFORK |
- PTRACE_O_TRACEVFORK;
+ ptrace_setoptions |= PTRACE_O_TRACECLONE;
+
+
debug_msg("ptrace_setoptions = %#x", ptrace_setoptions);
test_ptrace_seize();