aboutsummaryrefslogtreecommitdiff
path: root/linux-user/generic/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/generic/signal.h')
-rw-r--r--linux-user/generic/signal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/generic/signal.h b/linux-user/generic/signal.h
index e1083f8..943bc1a 100644
--- a/linux-user/generic/signal.h
+++ b/linux-user/generic/signal.h
@@ -54,4 +54,10 @@
#define TARGET_SIG_BLOCK 0 /* for blocking signals */
#define TARGET_SIG_UNBLOCK 1 /* for unblocking signals */
#define TARGET_SIG_SETMASK 2 /* for setting the signal mask */
+
+/* bit-flags */
+#define TARGET_SS_AUTODISARM (1U << 31) /* disable sas during sighandling */
+/* mask for all SS_xxx flags */
+#define TARGET_SS_FLAG_BITS TARGET_SS_AUTODISARM
+
#endif