blob: faabc597ee7bc199c17e7520e4436e2590c2ee7d [file] [log] [blame]
Andrew Geissler2ee498a2020-05-29 15:52:06 -05001From 9e5b1420b89813ee3c58c2b792077fa8bb71f327 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 May 2020 13:53:27 -0700
4Subject: [PATCH] Tackle SIGEMT and SIGSTKFLT is not glibc specific
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 lib/portability.c | 5 ++++-
9 1 file changed, 4 insertions(+), 1 deletion(-)
10
11diff --git a/lib/portability.c b/lib/portability.c
12index 294141c6..1c7ebc12 100644
13--- a/lib/portability.c
14+++ b/lib/portability.c
15@@ -430,8 +430,11 @@ static const struct signame signames[] = {
16 // Non-POSIX signals that cause termination
17 SIGNIFY(PROF), SIGNIFY(IO),
18 #ifdef __linux__
19-# if !defined(__GLIBC__) && !defined(__mips__)
20+# ifdef SIGSTKFLT
21 SIGNIFY(STKFLT),
22+# endif
23+# ifdef SIGEMT
24+ SIGNIFY(EMT),
25 # endif
26 SIGNIFY(POLL), SIGNIFY(PWR),
27 #elif defined(__APPLE__)
28--
292.26.2
30