Greg Kroah-Hartman | 6f52b16 | 2017-11-01 15:08:43 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 2 | #ifndef _UAPI_LINUX_SIGNAL_H |
| 3 | #define _UAPI_LINUX_SIGNAL_H |
| 4 | |
| 5 | #include <asm/signal.h> |
| 6 | #include <asm/siginfo.h> |
| 7 | |
Al Viro | 031b656 | 2012-11-18 15:13:17 -0500 | [diff] [blame] | 8 | #define SS_ONSTACK 1 |
| 9 | #define SS_DISABLE 2 |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 10 | |
Stas Sergeev | 2a74213 | 2016-04-14 23:20:04 +0300 | [diff] [blame] | 11 | /* bit-flags */ |
Andy Lutomirski | 91c6180 | 2016-05-03 10:31:52 -0700 | [diff] [blame] | 12 | #define SS_AUTODISARM (1U << 31) /* disable sas during sighandling */ |
Stas Sergeev | 407bc16 | 2016-04-14 23:20:03 +0300 | [diff] [blame] | 13 | /* mask for all SS_xxx flags */ |
Stas Sergeev | 2a74213 | 2016-04-14 23:20:04 +0300 | [diff] [blame] | 14 | #define SS_FLAG_BITS SS_AUTODISARM |
Stas Sergeev | 407bc16 | 2016-04-14 23:20:03 +0300 | [diff] [blame] | 15 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 16 | #endif /* _UAPI_LINUX_SIGNAL_H */ |