projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6519d4
)
add SS_AUTODISARM sigaltstack ss_flags from linux v4.7 to signal.h
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 20 Aug 2016 15:04:44 +0000
(17:04 +0200)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 30 Aug 2016 19:58:25 +0000
(15:58 -0400)
only matters if swapcontext is used in a signal handler running on an
altstack, new in linux commit
2a74213838104a41588d86fd5e8d344972891ace
include/signal.h
patch
|
blob
|
history
diff --git
a/include/signal.h
b/include/signal.h
index a16094c515694068b06bac8d0093d8787026e7f2..2c8b3d5576044e63198ce345e532cefcfdf7d83c 100644
(file)
--- a/
include/signal.h
+++ b/
include/signal.h
@@
-239,6
+239,8
@@
void (*sigset(int, void (*)(int)))(int);
#define POLL_HUP 6
#define SS_ONSTACK 1
#define SS_DISABLE 2
+#define SS_AUTODISARM (1U << 31)
+#define SS_FLAG_BITS SS_AUTODISARM
#endif
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)