History

parisc/signal: Add FPE_CONDTRAP for conditional trap handling

Posix and common sense requires that SI_USER not be a signal specific si_code. Thus add a new FPE_CONDTRAP si_code for conditional traps.

Helge Deller committed 8 years ago

Commit 75abf641 parent b284d4d4 files · +7 −12Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/asm-generic/siginfo.h+2−1
@@ -211,7 +211,8 @@ typedef struct siginfo { · 210 unmodified lines
211211 #define __FPE_INVASC 12 /* invalid ASCII digit */
212212 #define __FPE_INVDEC 13 /* invalid decimal digit */
213213 #define FPE_FLTUNK 14 /* undiagnosed floating-point exception */
214−#define NSIGFPE 14
214+#define FPE_CONDTRAP 15 /* trap on condition */
215+#define NSIGFPE 15
215216
216217 /*
217218 * SIGSEGV si_codes