summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2020-12-21 01:41:55 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-12-21 01:44:20 +0100
commitd865ff74ba096d016c9b1542a4e3d305169c9e55 (patch)
treea1ad2cf50e23fcf87a08b3955fffd7d7f80b404d /sysdeps/mach/hurd/setitimer.c
parenthurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value (diff)
downloadglibc-d865ff74ba096d016c9b1542a4e3d305169c9e55.tar.gz
glibc-d865ff74ba096d016c9b1542a4e3d305169c9e55.tar.bz2
glibc-d865ff74ba096d016c9b1542a4e3d305169c9e55.zip
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 'sysdeps/mach/hurd/setitimer.c')
-rw-r--r--sysdeps/mach/hurd/setitimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index b16f4ddd5d..a2b6c2aa5d 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -105,7 +105,7 @@ timer_thread (void)
__msg_sig_post_request (_hurd_msgport,
_hurd_itimer_port,
MACH_MSG_TYPE_MAKE_SEND_ONCE,
- SIGALRM, 0, __mach_task_self ());
+ SIGALRM, SI_TIMER, __mach_task_self ());
break;
case MACH_RCV_INTERRUPTED: