diff options
author | Jeremie Koenig <jk@jk.fr.eu.org> | 2020-12-21 01:41:55 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-12-21 01:44:20 +0100 |
commit | d865ff74ba096d016c9b1542a4e3d305169c9e55 (patch) | |
tree | a1ad2cf50e23fcf87a08b3955fffd7d7f80b404d /hurd/hurdinit.c | |
parent | 407765e9f24f5a82f318a9e069a977710ac99ee0 (diff) | |
download | glibc-d865ff74ba096d016c9b1542a4e3d305169c9e55.tar.gz |
hurd: implement SA_SIGINFO signal handlers.
SA_SIGINFO is actually just another way of expressing what we were
already passing over with struct sigcontext. This just introduces the
SIGINFO interface and fixes the posix values when that interface is
requested by the application.
Diffstat (limited to 'hurd/hurdinit.c')
-rw-r--r-- | hurd/hurdinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c index 7faa51b352..daa47911c3 100644 --- a/hurd/hurdinit.c +++ b/hurd/hurdinit.c @@ -205,7 +205,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> |