diff options
-rw-r--r-- | arch/aarch64/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/arm/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/i386/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/microblaze/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/mips/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/or1k/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/powerpc/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/sh/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/x32/bits/signal.h | 5 | ||||
-rw-r--r-- | arch/x86_64/bits/signal.h | 5 | ||||
-rw-r--r-- | include/signal.h | 2 |
11 files changed, 50 insertions, 2 deletions
diff --git a/arch/aarch64/bits/signal.h b/arch/aarch64/bits/signal.h index 430da95a..ef07cc9f 100644 --- a/arch/aarch64/bits/signal.h +++ b/arch/aarch64/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 6144 +#define SIGSTKSZ 12288 +#endif + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef unsigned long greg_t; typedef unsigned long gregset_t[34]; diff --git a/arch/arm/bits/signal.h b/arch/arm/bits/signal.h index 048635fa..9d19eeb2 100644 --- a/arch/arm/bits/signal.h +++ b/arch/arm/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef int greg_t, gregset_t[18]; typedef struct sigcontext diff --git a/arch/i386/bits/signal.h b/arch/i386/bits/signal.h index adf0c075..1f9085a5 100644 --- a/arch/i386/bits/signal.h +++ b/arch/i386/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #ifdef _GNU_SOURCE #define REG_GS 0 #define REG_FS 1 diff --git a/arch/microblaze/bits/signal.h b/arch/microblaze/bits/signal.h index 01fa7bf5..4aa231a2 100644 --- a/arch/microblaze/bits/signal.h +++ b/arch/microblaze/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef unsigned long greg_t, gregset_t[38]; typedef struct sigcontext diff --git a/arch/mips/bits/signal.h b/arch/mips/bits/signal.h index 48bd1105..e2218427 100644 --- a/arch/mips/bits/signal.h +++ b/arch/mips/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef unsigned long long greg_t, gregset_t[32]; typedef struct { diff --git a/arch/or1k/bits/signal.h b/arch/or1k/bits/signal.h index c5e9c0cd..be576d1d 100644 --- a/arch/or1k/bits/signal.h +++ b/arch/or1k/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef unsigned long greg_t, gregset_t[34]; typedef struct sigcontext { diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h index 3f9f810f..17a7354f 100644 --- a/arch/powerpc/bits/signal.h +++ b/arch/powerpc/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 4096 +#define SIGSTKSZ 10240 +#endif + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef unsigned long greg_t, gregset_t[48]; diff --git a/arch/sh/bits/signal.h b/arch/sh/bits/signal.h index 41b94376..160311fa 100644 --- a/arch/sh/bits/signal.h +++ b/arch/sh/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) typedef int greg_t, gregset_t[16]; typedef int freg_t, fpregset_t[16]; diff --git a/arch/x32/bits/signal.h b/arch/x32/bits/signal.h index 2379f1ca..4c4adf31 100644 --- a/arch/x32/bits/signal.h +++ b/arch/x32/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #ifdef _GNU_SOURCE #define REG_R8 0 #define REG_R9 1 diff --git a/arch/x86_64/bits/signal.h b/arch/x86_64/bits/signal.h index b3a76165..e3c31417 100644 --- a/arch/x86_64/bits/signal.h +++ b/arch/x86_64/bits/signal.h @@ -1,6 +1,11 @@ #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) +#define MINSIGSTKSZ 2048 +#define SIGSTKSZ 8192 +#endif + #ifdef _GNU_SOURCE #define REG_R8 0 #define REG_R9 1 diff --git a/include/signal.h b/include/signal.h index b38241a3..559362f2 100644 --- a/include/signal.h +++ b/include/signal.h @@ -222,8 +222,6 @@ void (*sigset(int, void (*)(int)))(int); #define POLL_HUP 6 #define SS_ONSTACK 1 #define SS_DISABLE 2 -#define MINSIGSTKSZ 2048 -#define SIGSTKSZ 8192 #endif #if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) |