summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/signal.h')
-rw-r--r--include/uapi/linux/signal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/uapi/linux/signal.h b/include/uapi/linux/signal.h
new file mode 100644
index 0000000000..e03238f8d4
--- /dev/null
+++ b/include/uapi/linux/signal.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _UAPI_LINUX_SIGNAL_H
+#define _UAPI_LINUX_SIGNAL_H
+
+#include <asm/signal.h>
+#include <asm/siginfo.h>
+
+#define SS_ONSTACK 1
+#define SS_DISABLE 2
+
+/* bit-flags */
+#define SS_AUTODISARM (1U << 31) /* disable sas during sighandling */
+/* mask for all SS_xxx flags */
+#define SS_FLAG_BITS SS_AUTODISARM
+
+#endif /* _UAPI_LINUX_SIGNAL_H */