From d865ff74ba096d016c9b1542a4e3d305169c9e55 Mon Sep 17 00:00:00 2001 From: Jeremie Koenig Date: Mon, 21 Dec 2020 01:41:55 +0100 Subject: 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. --- sysdeps/mach/hurd/setitimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/mach/hurd/setitimer.c') 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: -- cgit 1.4.1