aboutsummaryrefslogtreecommitdiffstats
path: root/sctrace.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-31 23:59:13 +0200
committerMattias Andrée <maandree@kth.se>2020-05-31 23:59:13 +0200
commit21be28b24b0ee5ea97f3752c00f3f740ffb5f6b6 (patch)
treeee86e6006b27e3ce4577e6d836e29476d17e596a /sctrace.c
parentTracing fork children does not work (diff)
downloadsctrace-21be28b24b0ee5ea97f3752c00f3f740ffb5f6b6.tar.gz
sctrace-21be28b24b0ee5ea97f3752c00f3f740ffb5f6b6.tar.bz2
sctrace-21be28b24b0ee5ea97f3752c00f3f740ffb5f6b6.tar.xz
Things work as expected again
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sctrace.c')
-rw-r--r--sctrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sctrace.c b/sctrace.c
index 30535fb..f86d830 100644
--- a/sctrace.c
+++ b/sctrace.c
@@ -157,7 +157,7 @@ handle_event(struct process *proc, int status)
abort();
case 0:
- /* TODO ensure proper handling of signals (multithreaded?, siginfo?, in new processes?) */
+ /* TODO ensure proper handling of signals (siginfo?) */
if (ptrace(PTRACE_GETSIGINFO, proc->pid, 0, &(siginfo_t){0}))
goto stop_signal;
tprintf(proc, "\nProcess received signal %i (%s: %s)\n", sig, get_signum_name(sig), strsignal(sig));