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/hurd | |
parent | 407765e9f24f5a82f318a9e069a977710ac99ee0 (diff) | |
download | glibc-d865ff74ba096d016c9b1542a4e3d305169c9e55.tar.gz glibc-d865ff74ba096d016c9b1542a4e3d305169c9e55.tar.xz 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 'hurd/hurd')
-rw-r--r-- | hurd/hurd/signal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hurd/hurd/signal.h b/hurd/hurd/signal.h index c11f841172..f6f91218db 100644 --- a/hurd/hurd/signal.h +++ b/hurd/hurd/signal.h @@ -288,6 +288,11 @@ extern int _hurd_raise_signal (struct hurd_sigstate *ss, int signo, extern void _hurd_exception2signal (struct hurd_signal_detail *detail, int *signo); +/* Translate a Mach exception into a signal with a legacy sigcode. */ + +extern void _hurd_exception2signal_legacy (struct hurd_signal_detail *detail, + int *signo); + /* Make the thread described by SS take the signal described by SIGNO and DETAIL. If the process is traced, this will in fact stop with a SIGNO |