aboutsummaryrefslogtreecommitdiffstats
path: root/main/sudo/SIGUNUSED.patch
blob: be4f73541b8140e1e49508fc3d5f40df8ef08378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Upstream: No
Reason: Musl compatibility

--- a/lib/util/siglist.in	2019-10-10 11:32:54.000000000 -0500
+++ b/lib/util/siglist.in	2019-10-14 16:42:46.259938722 -0500
@@ -17,11 +17,12 @@
     EMT     EMT trap
     FPE     Floating point exception
     KILL    Killed
+# before UNUSED (musl defines them as the same number)
+    SYS     Bad system call
 # before BUS (Older Linux doesn't really have a BUS, but defines it to UNUSED)
     UNUSED  Unused
     BUS     Bus error
     SEGV    Memory fault
-    SYS     Bad system call
     PIPE    Broken pipe
     ALRM    Alarm clock
     TERM    Terminated