mirror of git://git.musl-libc.org/musl
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
This commit is contained in:
parent
c6519d4a71
commit
9680e1d03a
|
@ -239,6 +239,8 @@ void (*sigset(int, void (*)(int)))(int);
|
||||||
#define POLL_HUP 6
|
#define POLL_HUP 6
|
||||||
#define SS_ONSTACK 1
|
#define SS_ONSTACK 1
|
||||||
#define SS_DISABLE 2
|
#define SS_DISABLE 2
|
||||||
|
#define SS_AUTODISARM (1U << 31)
|
||||||
|
#define SS_FLAG_BITS SS_AUTODISARM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
|
#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
|
||||||
|
|
Loading…
Reference in New Issue