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 /sysdeps/mach/hurd/i386/bits | |
parent | 407765e9f24f5a82f318a9e069a977710ac99ee0 (diff) | |
download | glibc-d865ff74ba096d016c9b1542a4e3d305169c9e55.tar glibc-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/i386/bits')
-rw-r--r-- | sysdeps/mach/hurd/i386/bits/sigcontext.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/bits/sigcontext.h b/sysdeps/mach/hurd/i386/bits/sigcontext.h index cc4d5d62ee..28490591c1 100644 --- a/sysdeps/mach/hurd/i386/bits/sigcontext.h +++ b/sysdeps/mach/hurd/i386/bits/sigcontext.h @@ -97,6 +97,10 @@ struct sigcontext #define sc_ps sc_efl +/* The deprecated sigcode values below are passed as an extra, non-portable + argument to regular signal handlers. You should use SA_SIGINFO handlers + instead, which use the standard POSIX signal codes. */ + /* Codes for SIGFPE. */ #define FPE_INTOVF_TRAP 0x1 /* integer overflow */ #define FPE_INTDIV_FAULT 0x2 /* integer divide by zero */ |