musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/signal.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016年08月20日 17:04:44 +0200
committerRich Felker <dalias@aerifal.cx>2016年08月30日 15:58:25 -0400
commit9680e1d03a794b0e0d5815c749478228ed40a36d (patch)
tree44868268955c7c5c8d4ddb4400cafa2bda528b8a /include/signal.h
parentc6519d4a71a7579fec4b8a72635c2cf3732f8d5d (diff)
downloadmusl-9680e1d03a794b0e0d5815c749478228ed40a36d.tar.gz
add SS_AUTODISARM sigaltstack ss_flags from linux v4.7 to signal.h
only matters if swapcontext is used in a signal handler running on an altstack, new in linux commit 2a74213838104a41588d86fd5e8d344972891ace
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h 2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/signal.h b/include/signal.h
index a16094c5..2c8b3d55 100644
--- 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)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 17:19:20 +0000

AltStyle によって変換されたページ (->オリジナル) /