summaryrefslogtreecommitdiff
path: root/hurd/hurdinit.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-21 02:41:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-21 02:41:18 +0100
commite19a2fad70b187e5efe79768f86a1f05cb5e0390 (patch)
tree2a8eaad1119c99144c75bea194541bb075a7af25 /hurd/hurdinit.c
parent2ec583b0e9d55120e2538c2b8bacb292b6d3dada (diff)
implement SA_SIGINFO signal handlers.
52baaca Hurd signals: Copy bits/sigaction.h 4232c66 Hurd signals: SA_SIGINFO support 1831cfe Hurd signals: Use POSIX sigcodes
Diffstat (limited to 'hurd/hurdinit.c')
-rw-r--r--hurd/hurdinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c
index 259f8a3547..97d3460dcf 100644
--- a/hurd/hurdinit.c
+++ b/hurd/hurdinit.c
@@ -176,7 +176,7 @@ _hurd_new_proc_init (char **argv,
/* This process is "traced", meaning it should stop on signals or exec.
We are all set up now to handle signals. Stop ourselves, to inform
our parent (presumably a debugger) that the exec has completed. */
- __msg_sig_post (_hurd_msgport, SIGTRAP, 0, __mach_task_self ());
+ __msg_sig_post (_hurd_msgport, SIGTRAP, TRAP_TRACE, __mach_task_self ());
}
#include <shlib-compat.h>