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. --- hurd/hurdfault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/hurdfault.c') diff --git a/hurd/hurdfault.c b/hurd/hurdfault.c index fa28347418..6df1016f79 100644 --- a/hurd/hurdfault.c +++ b/hurd/hurdfault.c @@ -70,7 +70,7 @@ _hurdsig_fault_catch_exception_raise (mach_port_t port, codes into a signal number and subcode. */ _hurd_exception2signal (&d, &signo); - return HURD_PREEMPT_SIGNAL_P (&_hurdsig_fault_preemptor, signo, d.code) + return HURD_PREEMPT_SIGNAL_P (&_hurdsig_fault_preemptor, signo, d.exc_subcode) ? 0 : EGREGIOUS; } -- cgit 1.4.1