mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
committed by
Samuel Thibault
parent
407765e9f2
commit
d865ff74ba
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user