diff options
56 files changed, 0 insertions, 159 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index e50d3af294d4..956756c27ac6 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -356,21 +356,6 @@ config MODULES_USE_ELF_REL | |||
356 | Modules only use ELF REL relocations. Modules with ELF RELA | 356 | Modules only use ELF REL relocations. Modules with ELF RELA |
357 | relocations will give an error. | 357 | relocations will give an error. |
358 | 358 | ||
359 | config GENERIC_SIGALTSTACK | ||
360 | bool | ||
361 | |||
362 | config GENERIC_COMPAT_RT_SIGPROCMASK | ||
363 | bool | ||
364 | |||
365 | config GENERIC_COMPAT_RT_SIGPENDING | ||
366 | bool | ||
367 | |||
368 | config GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
369 | bool | ||
370 | |||
371 | config GENERIC_COMPAT_RT_SIGACTION | ||
372 | bool | ||
373 | |||
374 | # | 359 | # |
375 | # ABI hall of shame | 360 | # ABI hall of shame |
376 | # | 361 | # |
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 15740cf29bd4..dd083c403ab3 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig | |||
@@ -22,7 +22,6 @@ config ALPHA | |||
22 | select GENERIC_STRNLEN_USER | 22 | select GENERIC_STRNLEN_USER |
23 | select HAVE_MOD_ARCH_SPECIFIC | 23 | select HAVE_MOD_ARCH_SPECIFIC |
24 | select MODULES_USE_ELF_RELA | 24 | select MODULES_USE_ELF_RELA |
25 | select GENERIC_SIGALTSTACK | ||
26 | select ODD_RT_SIGACTION | 25 | select ODD_RT_SIGACTION |
27 | select OLD_SIGSUSPEND | 26 | select OLD_SIGSUSPEND |
28 | help | 27 | help |
diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index b3396ee039b7..6d6fe7ab5473 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #define __ARCH_WANT_SYS_OLD_GETRLIMIT | 14 | #define __ARCH_WANT_SYS_OLD_GETRLIMIT |
15 | #define __ARCH_WANT_SYS_OLDUMOUNT | 15 | #define __ARCH_WANT_SYS_OLDUMOUNT |
16 | #define __ARCH_WANT_SYS_SIGPENDING | 16 | #define __ARCH_WANT_SYS_SIGPENDING |
17 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
18 | #define __ARCH_WANT_SYS_FORK | 17 | #define __ARCH_WANT_SYS_FORK |
19 | #define __ARCH_WANT_SYS_VFORK | 18 | #define __ARCH_WANT_SYS_VFORK |
20 | #define __ARCH_WANT_SYS_CLONE | 19 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index db3152d6dd88..fcb406633328 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -56,7 +56,6 @@ config ARM | |||
56 | select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND | 56 | select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND |
57 | select MODULES_USE_ELF_REL | 57 | select MODULES_USE_ELF_REL |
58 | select CLONE_BACKWARDS | 58 | select CLONE_BACKWARDS |
59 | select GENERIC_SIGALTSTACK | ||
60 | select OLD_SIGSUSPEND3 | 59 | select OLD_SIGSUSPEND3 |
61 | select OLD_SIGACTION | 60 | select OLD_SIGACTION |
62 | help | 61 | help |
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 21a2700d2957..e4ddfb39ca34 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -26,8 +26,6 @@ | |||
26 | #define __ARCH_WANT_SYS_NICE | 26 | #define __ARCH_WANT_SYS_NICE |
27 | #define __ARCH_WANT_SYS_SIGPENDING | 27 | #define __ARCH_WANT_SYS_SIGPENDING |
28 | #define __ARCH_WANT_SYS_SIGPROCMASK | 28 | #define __ARCH_WANT_SYS_SIGPROCMASK |
29 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
30 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
31 | #define __ARCH_WANT_SYS_OLD_MMAP | 29 | #define __ARCH_WANT_SYS_OLD_MMAP |
32 | #define __ARCH_WANT_SYS_OLD_SELECT | 30 | #define __ARCH_WANT_SYS_OLD_SELECT |
33 | 31 | ||
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 1f27c58f44ad..626ab20f12ea 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
@@ -6,15 +6,10 @@ config ARM64 | |||
6 | select CLONE_BACKWARDS | 6 | select CLONE_BACKWARDS |
7 | select COMMON_CLK | 7 | select COMMON_CLK |
8 | select GENERIC_CLOCKEVENTS | 8 | select GENERIC_CLOCKEVENTS |
9 | select GENERIC_COMPAT_RT_SIGACTION | ||
10 | select GENERIC_COMPAT_RT_SIGPENDING | ||
11 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
12 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
13 | select GENERIC_HARDIRQS_NO_DEPRECATED | 9 | select GENERIC_HARDIRQS_NO_DEPRECATED |
14 | select GENERIC_IOMAP | 10 | select GENERIC_IOMAP |
15 | select GENERIC_IRQ_PROBE | 11 | select GENERIC_IRQ_PROBE |
16 | select GENERIC_IRQ_SHOW | 12 | select GENERIC_IRQ_SHOW |
17 | select GENERIC_SIGALTSTACK | ||
18 | select GENERIC_SMP_IDLE_THREAD | 13 | select GENERIC_SMP_IDLE_THREAD |
19 | select GENERIC_TIME_VSYSCALL | 14 | select GENERIC_TIME_VSYSCALL |
20 | select HARDIRQS_SW_RESEND | 15 | select HARDIRQS_SW_RESEND |
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index 744087fb521c..82ce217e94cf 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h | |||
@@ -20,10 +20,8 @@ | |||
20 | #define __ARCH_WANT_SYS_GETPGRP | 20 | #define __ARCH_WANT_SYS_GETPGRP |
21 | #define __ARCH_WANT_SYS_LLSEEK | 21 | #define __ARCH_WANT_SYS_LLSEEK |
22 | #define __ARCH_WANT_SYS_NICE | 22 | #define __ARCH_WANT_SYS_NICE |
23 | #define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL | ||
24 | #define __ARCH_WANT_SYS_SIGPENDING | 23 | #define __ARCH_WANT_SYS_SIGPENDING |
25 | #define __ARCH_WANT_SYS_SIGPROCMASK | 24 | #define __ARCH_WANT_SYS_SIGPROCMASK |
26 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | ||
27 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE | 25 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE |
28 | #define __ARCH_WANT_SYS_FORK | 26 | #define __ARCH_WANT_SYS_FORK |
29 | #define __ARCH_WANT_SYS_VFORK | 27 | #define __ARCH_WANT_SYS_VFORK |
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index e888b72b6e10..2ae6591b3a55 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
@@ -17,7 +17,6 @@ config AVR32 | |||
17 | select GENERIC_CLOCKEVENTS | 17 | select GENERIC_CLOCKEVENTS |
18 | select HAVE_MOD_ARCH_SPECIFIC | 18 | select HAVE_MOD_ARCH_SPECIFIC |
19 | select MODULES_USE_ELF_RELA | 19 | select MODULES_USE_ELF_RELA |
20 | select GENERIC_SIGALTSTACK | ||
21 | help | 20 | help |
22 | AVR32 is a high-performance 32-bit RISC microprocessor core, | 21 | AVR32 is a high-performance 32-bit RISC microprocessor core, |
23 | designed for cost-sensitive embedded applications, with particular | 22 | designed for cost-sensitive embedded applications, with particular |
diff --git a/arch/avr32/include/asm/unistd.h b/arch/avr32/include/asm/unistd.h index 0bdf6371574e..dc4d5a931112 100644 --- a/arch/avr32/include/asm/unistd.h +++ b/arch/avr32/include/asm/unistd.h | |||
@@ -37,8 +37,6 @@ | |||
37 | #define __ARCH_WANT_SYS_GETPGRP | 37 | #define __ARCH_WANT_SYS_GETPGRP |
38 | #define __ARCH_WANT_SYS_LLSEEK | 38 | #define __ARCH_WANT_SYS_LLSEEK |
39 | #define __ARCH_WANT_SYS_GETPGRP | 39 | #define __ARCH_WANT_SYS_GETPGRP |
40 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
41 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
42 | #define __ARCH_WANT_SYS_FORK | 40 | #define __ARCH_WANT_SYS_FORK |
43 | #define __ARCH_WANT_SYS_VFORK | 41 | #define __ARCH_WANT_SYS_VFORK |
44 | #define __ARCH_WANT_SYS_CLONE | 42 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index a8a9ca7d40f3..b6f3ad5441c5 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -45,7 +45,6 @@ config BLACKFIN | |||
45 | select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS | 45 | select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS |
46 | select HAVE_MOD_ARCH_SPECIFIC | 46 | select HAVE_MOD_ARCH_SPECIFIC |
47 | select MODULES_USE_ELF_RELA | 47 | select MODULES_USE_ELF_RELA |
48 | select GENERIC_SIGALTSTACK | ||
49 | 48 | ||
50 | config GENERIC_CSUM | 49 | config GENERIC_CSUM |
51 | def_bool y | 50 | def_bool y |
diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h index e943cb130048..04e83ea8d5cc 100644 --- a/arch/blackfin/include/asm/unistd.h +++ b/arch/blackfin/include/asm/unistd.h | |||
@@ -18,8 +18,6 @@ | |||
18 | #define __ARCH_WANT_SYS_GETPGRP | 18 | #define __ARCH_WANT_SYS_GETPGRP |
19 | #define __ARCH_WANT_SYS_LLSEEK | 19 | #define __ARCH_WANT_SYS_LLSEEK |
20 | #define __ARCH_WANT_SYS_NICE | 20 | #define __ARCH_WANT_SYS_NICE |
21 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
22 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
23 | #define __ARCH_WANT_SYS_VFORK | 21 | #define __ARCH_WANT_SYS_VFORK |
24 | 22 | ||
25 | /* | 23 | /* |
diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig index 12d97b7ef0dc..f6a3648f5ec3 100644 --- a/arch/c6x/Kconfig +++ b/arch/c6x/Kconfig | |||
@@ -18,7 +18,6 @@ config C6X | |||
18 | select OF_EARLY_FLATTREE | 18 | select OF_EARLY_FLATTREE |
19 | select GENERIC_CLOCKEVENTS | 19 | select GENERIC_CLOCKEVENTS |
20 | select MODULES_USE_ELF_RELA | 20 | select MODULES_USE_ELF_RELA |
21 | select GENERIC_SIGALTSTACK | ||
22 | 21 | ||
23 | config MMU | 22 | config MMU |
24 | def_bool n | 23 | def_bool n |
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index c2a1d0a8924c..0e5c187ac7d2 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -50,7 +50,6 @@ config CRIS | |||
50 | select GENERIC_CMOS_UPDATE | 50 | select GENERIC_CMOS_UPDATE |
51 | select MODULES_USE_ELF_RELA | 51 | select MODULES_USE_ELF_RELA |
52 | select CLONE_BACKWARDS2 | 52 | select CLONE_BACKWARDS2 |
53 | select GENERIC_SIGALTSTACK | ||
54 | select OLD_SIGSUSPEND | 53 | select OLD_SIGSUSPEND |
55 | select OLD_SIGACTION | 54 | select OLD_SIGACTION |
56 | 55 | ||
diff --git a/arch/cris/include/asm/unistd.h b/arch/cris/include/asm/unistd.h index 6d062bdf92d4..be57a988bfb9 100644 --- a/arch/cris/include/asm/unistd.h +++ b/arch/cris/include/asm/unistd.h | |||
@@ -30,8 +30,6 @@ | |||
30 | #define __ARCH_WANT_SYS_OLDUMOUNT | 30 | #define __ARCH_WANT_SYS_OLDUMOUNT |
31 | #define __ARCH_WANT_SYS_SIGPENDING | 31 | #define __ARCH_WANT_SYS_SIGPENDING |
32 | #define __ARCH_WANT_SYS_SIGPROCMASK | 32 | #define __ARCH_WANT_SYS_SIGPROCMASK |
33 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
34 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
35 | #define __ARCH_WANT_SYS_FORK | 33 | #define __ARCH_WANT_SYS_FORK |
36 | #define __ARCH_WANT_SYS_VFORK | 34 | #define __ARCH_WANT_SYS_VFORK |
37 | #define __ARCH_WANT_SYS_CLONE | 35 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index e3f8ffdd4e7b..b7465cd3dbbb 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
@@ -12,7 +12,6 @@ config FRV | |||
12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
13 | select GENERIC_CPU_DEVICES | 13 | select GENERIC_CPU_DEVICES |
14 | select ARCH_WANT_IPC_PARSE_VERSION | 14 | select ARCH_WANT_IPC_PARSE_VERSION |
15 | select GENERIC_SIGALTSTACK | ||
16 | select OLD_SIGSUSPEND3 | 15 | select OLD_SIGSUSPEND3 |
17 | select OLD_SIGACTION | 16 | select OLD_SIGACTION |
18 | 17 | ||
diff --git a/arch/frv/include/asm/unistd.h b/arch/frv/include/asm/unistd.h index d685da17f5fb..4cfcc7bba25a 100644 --- a/arch/frv/include/asm/unistd.h +++ b/arch/frv/include/asm/unistd.h | |||
@@ -27,8 +27,6 @@ | |||
27 | #define __ARCH_WANT_SYS_OLDUMOUNT | 27 | #define __ARCH_WANT_SYS_OLDUMOUNT |
28 | /* #define __ARCH_WANT_SYS_SIGPENDING */ | 28 | /* #define __ARCH_WANT_SYS_SIGPENDING */ |
29 | #define __ARCH_WANT_SYS_SIGPROCMASK | 29 | #define __ARCH_WANT_SYS_SIGPROCMASK |
30 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
31 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
32 | #define __ARCH_WANT_SYS_FORK | 30 | #define __ARCH_WANT_SYS_FORK |
33 | #define __ARCH_WANT_SYS_VFORK | 31 | #define __ARCH_WANT_SYS_VFORK |
34 | #define __ARCH_WANT_SYS_CLONE | 32 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 0b0176ce2c35..05b613af223a 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig | |||
@@ -9,7 +9,6 @@ config H8300 | |||
9 | select GENERIC_IRQ_SHOW | 9 | select GENERIC_IRQ_SHOW |
10 | select GENERIC_CPU_DEVICES | 10 | select GENERIC_CPU_DEVICES |
11 | select MODULES_USE_ELF_RELA | 11 | select MODULES_USE_ELF_RELA |
12 | select GENERIC_SIGALTSTACK | ||
13 | select OLD_SIGSUSPEND3 | 12 | select OLD_SIGSUSPEND3 |
14 | select OLD_SIGACTION | 13 | select OLD_SIGACTION |
15 | 14 | ||
diff --git a/arch/h8300/include/asm/unistd.h b/arch/h8300/include/asm/unistd.h index aa38105959fb..6721856d841b 100644 --- a/arch/h8300/include/asm/unistd.h +++ b/arch/h8300/include/asm/unistd.h | |||
@@ -29,8 +29,6 @@ | |||
29 | #define __ARCH_WANT_SYS_OLDUMOUNT | 29 | #define __ARCH_WANT_SYS_OLDUMOUNT |
30 | #define __ARCH_WANT_SYS_SIGPENDING | 30 | #define __ARCH_WANT_SYS_SIGPENDING |
31 | #define __ARCH_WANT_SYS_SIGPROCMASK | 31 | #define __ARCH_WANT_SYS_SIGPROCMASK |
32 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
33 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
34 | #define __ARCH_WANT_SYS_FORK | 32 | #define __ARCH_WANT_SYS_FORK |
35 | #define __ARCH_WANT_SYS_VFORK | 33 | #define __ARCH_WANT_SYS_VFORK |
36 | #define __ARCH_WANT_SYS_CLONE | 34 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig index 3e6e27c11f93..0744f7d7b1fd 100644 --- a/arch/hexagon/Kconfig +++ b/arch/hexagon/Kconfig | |||
@@ -31,7 +31,6 @@ config HEXAGON | |||
31 | select GENERIC_CLOCKEVENTS | 31 | select GENERIC_CLOCKEVENTS |
32 | select GENERIC_CLOCKEVENTS_BROADCAST | 32 | select GENERIC_CLOCKEVENTS_BROADCAST |
33 | select MODULES_USE_ELF_RELA | 33 | select MODULES_USE_ELF_RELA |
34 | select GENERIC_SIGALTSTACK | ||
35 | ---help--- | 34 | ---help--- |
36 | Qualcomm Hexagon is a processor architecture designed for high | 35 | Qualcomm Hexagon is a processor architecture designed for high |
37 | performance and low power across a wide variety of applications. | 36 | performance and low power across a wide variety of applications. |
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 98482d1cbc5b..3279646120e3 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -42,7 +42,6 @@ config IA64 | |||
42 | select GENERIC_TIME_VSYSCALL_OLD | 42 | select GENERIC_TIME_VSYSCALL_OLD |
43 | select HAVE_MOD_ARCH_SPECIFIC | 43 | select HAVE_MOD_ARCH_SPECIFIC |
44 | select MODULES_USE_ELF_RELA | 44 | select MODULES_USE_ELF_RELA |
45 | select GENERIC_SIGALTSTACK | ||
46 | default y | 45 | default y |
47 | help | 46 | help |
48 | The Itanium Processor Family is Intel's 64-bit successor to | 47 | The Itanium Processor Family is Intel's 64-bit successor to |
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h index c827049eb62c..096373800f73 100644 --- a/arch/ia64/include/asm/unistd.h +++ b/arch/ia64/include/asm/unistd.h | |||
@@ -27,9 +27,6 @@ | |||
27 | #define __IGNORE_vfork /* clone() */ | 27 | #define __IGNORE_vfork /* clone() */ |
28 | #define __IGNORE_umount2 /* umount() */ | 28 | #define __IGNORE_umount2 /* umount() */ |
29 | 29 | ||
30 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
31 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
32 | |||
33 | #if !defined(__ASSEMBLY__) && !defined(ASSEMBLER) | 30 | #if !defined(__ASSEMBLY__) && !defined(ASSEMBLER) |
34 | 31 | ||
35 | #include <linux/types.h> | 32 | #include <linux/types.h> |
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 1f550d4dd5d0..f807721e19a5 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
@@ -15,7 +15,6 @@ config M32R | |||
15 | select GENERIC_ATOMIC64 | 15 | select GENERIC_ATOMIC64 |
16 | select ARCH_USES_GETTIMEOFFSET | 16 | select ARCH_USES_GETTIMEOFFSET |
17 | select MODULES_USE_ELF_RELA | 17 | select MODULES_USE_ELF_RELA |
18 | select GENERIC_SIGALTSTACK | ||
19 | 18 | ||
20 | config SBUS | 19 | config SBUS |
21 | bool | 20 | bool |
diff --git a/arch/m32r/include/asm/unistd.h b/arch/m32r/include/asm/unistd.h index 79b063caec85..555629b05267 100644 --- a/arch/m32r/include/asm/unistd.h +++ b/arch/m32r/include/asm/unistd.h | |||
@@ -20,8 +20,6 @@ | |||
20 | #define __ARCH_WANT_SYS_LLSEEK | 20 | #define __ARCH_WANT_SYS_LLSEEK |
21 | #define __ARCH_WANT_SYS_OLD_GETRLIMIT /*will be unused*/ | 21 | #define __ARCH_WANT_SYS_OLD_GETRLIMIT /*will be unused*/ |
22 | #define __ARCH_WANT_SYS_OLDUMOUNT | 22 | #define __ARCH_WANT_SYS_OLDUMOUNT |
23 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
24 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
25 | #define __ARCH_WANT_SYS_CLONE | 23 | #define __ARCH_WANT_SYS_CLONE |
26 | #define __ARCH_WANT_SYS_FORK | 24 | #define __ARCH_WANT_SYS_FORK |
27 | #define __ARCH_WANT_SYS_VFORK | 25 | #define __ARCH_WANT_SYS_VFORK |
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index a358bf63defe..efb1ce1f14a3 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -18,7 +18,6 @@ config M68K | |||
18 | select HAVE_MOD_ARCH_SPECIFIC | 18 | select HAVE_MOD_ARCH_SPECIFIC |
19 | select MODULES_USE_ELF_REL | 19 | select MODULES_USE_ELF_REL |
20 | select MODULES_USE_ELF_RELA | 20 | select MODULES_USE_ELF_RELA |
21 | select GENERIC_SIGALTSTACK | ||
22 | select OLD_SIGSUSPEND3 | 21 | select OLD_SIGSUSPEND3 |
23 | select OLD_SIGACTION | 22 | select OLD_SIGACTION |
24 | 23 | ||
diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h index 847994ce6804..df19631cc4de 100644 --- a/arch/m68k/include/asm/unistd.h +++ b/arch/m68k/include/asm/unistd.h | |||
@@ -29,8 +29,6 @@ | |||
29 | #define __ARCH_WANT_SYS_OLDUMOUNT | 29 | #define __ARCH_WANT_SYS_OLDUMOUNT |
30 | #define __ARCH_WANT_SYS_SIGPENDING | 30 | #define __ARCH_WANT_SYS_SIGPENDING |
31 | #define __ARCH_WANT_SYS_SIGPROCMASK | 31 | #define __ARCH_WANT_SYS_SIGPROCMASK |
32 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
33 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
34 | #define __ARCH_WANT_SYS_FORK | 32 | #define __ARCH_WANT_SYS_FORK |
35 | #define __ARCH_WANT_SYS_VFORK | 33 | #define __ARCH_WANT_SYS_VFORK |
36 | 34 | ||
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 5e30d75c74ed..ba3b7c8c04b8 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
@@ -27,7 +27,6 @@ config MICROBLAZE | |||
27 | select GENERIC_CLOCKEVENTS | 27 | select GENERIC_CLOCKEVENTS |
28 | select MODULES_USE_ELF_RELA | 28 | select MODULES_USE_ELF_RELA |
29 | select CLONE_BACKWARDS | 29 | select CLONE_BACKWARDS |
30 | select GENERIC_SIGALTSTACK | ||
31 | 30 | ||
32 | config SWAP | 31 | config SWAP |
33 | def_bool n | 32 | def_bool n |
diff --git a/arch/microblaze/include/asm/unistd.h b/arch/microblaze/include/asm/unistd.h index 10f8ac186855..b3778391d9cc 100644 --- a/arch/microblaze/include/asm/unistd.h +++ b/arch/microblaze/include/asm/unistd.h | |||
@@ -33,8 +33,6 @@ | |||
33 | #define __ARCH_WANT_SYS_OLDUMOUNT | 33 | #define __ARCH_WANT_SYS_OLDUMOUNT |
34 | #define __ARCH_WANT_SYS_SIGPENDING | 34 | #define __ARCH_WANT_SYS_SIGPENDING |
35 | #define __ARCH_WANT_SYS_SIGPROCMASK | 35 | #define __ARCH_WANT_SYS_SIGPROCMASK |
36 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
37 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
38 | #define __ARCH_WANT_SYS_CLONE | 36 | #define __ARCH_WANT_SYS_CLONE |
39 | #define __ARCH_WANT_SYS_VFORK | 37 | #define __ARCH_WANT_SYS_VFORK |
40 | #define __ARCH_WANT_SYS_FORK | 38 | #define __ARCH_WANT_SYS_FORK |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 0772b5c5bc72..a3d4646098fe 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -42,11 +42,6 @@ config MIPS | |||
42 | select MODULES_USE_ELF_REL if MODULES | 42 | select MODULES_USE_ELF_REL if MODULES |
43 | select MODULES_USE_ELF_RELA if MODULES && 64BIT | 43 | select MODULES_USE_ELF_RELA if MODULES && 64BIT |
44 | select CLONE_BACKWARDS | 44 | select CLONE_BACKWARDS |
45 | select GENERIC_SIGALTSTACK | ||
46 | select GENERIC_COMPAT_RT_SIGACTION | ||
47 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
48 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
49 | select GENERIC_COMPAT_RT_SIGPENDING | ||
50 | 45 | ||
51 | menu "Machine selection" | 46 | menu "Machine selection" |
52 | 47 | ||
diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h index 06f6463c24ad..64f661e32879 100644 --- a/arch/mips/include/asm/unistd.h +++ b/arch/mips/include/asm/unistd.h | |||
@@ -35,7 +35,6 @@ | |||
35 | #define __ARCH_WANT_SYS_OLDUMOUNT | 35 | #define __ARCH_WANT_SYS_OLDUMOUNT |
36 | #define __ARCH_WANT_SYS_SIGPENDING | 36 | #define __ARCH_WANT_SYS_SIGPENDING |
37 | #define __ARCH_WANT_SYS_SIGPROCMASK | 37 | #define __ARCH_WANT_SYS_SIGPROCMASK |
38 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
39 | # ifdef CONFIG_32BIT | 38 | # ifdef CONFIG_32BIT |
40 | # define __ARCH_WANT_STAT64 | 39 | # define __ARCH_WANT_STAT64 |
41 | # define __ARCH_WANT_SYS_TIME | 40 | # define __ARCH_WANT_SYS_TIME |
diff --git a/arch/mn10300/Kconfig b/arch/mn10300/Kconfig index 12bf06f9abe5..ad0caea0bfea 100644 --- a/arch/mn10300/Kconfig +++ b/arch/mn10300/Kconfig | |||
@@ -10,7 +10,6 @@ config MN10300 | |||
10 | select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER | 10 | select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER |
11 | select GENERIC_CLOCKEVENTS | 11 | select GENERIC_CLOCKEVENTS |
12 | select MODULES_USE_ELF_RELA | 12 | select MODULES_USE_ELF_RELA |
13 | select GENERIC_SIGALTSTACK | ||
14 | select OLD_SIGSUSPEND3 | 13 | select OLD_SIGSUSPEND3 |
15 | select OLD_SIGACTION | 14 | select OLD_SIGACTION |
16 | 15 | ||
diff --git a/arch/mn10300/include/asm/unistd.h b/arch/mn10300/include/asm/unistd.h index e6d2ed4ba68f..7f9d9adfa51e 100644 --- a/arch/mn10300/include/asm/unistd.h +++ b/arch/mn10300/include/asm/unistd.h | |||
@@ -41,8 +41,6 @@ | |||
41 | #define __ARCH_WANT_SYS_OLDUMOUNT | 41 | #define __ARCH_WANT_SYS_OLDUMOUNT |
42 | #define __ARCH_WANT_SYS_SIGPENDING | 42 | #define __ARCH_WANT_SYS_SIGPENDING |
43 | #define __ARCH_WANT_SYS_SIGPROCMASK | 43 | #define __ARCH_WANT_SYS_SIGPROCMASK |
44 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
45 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
46 | #define __ARCH_WANT_SYS_FORK | 44 | #define __ARCH_WANT_SYS_FORK |
47 | #define __ARCH_WANT_SYS_VFORK | 45 | #define __ARCH_WANT_SYS_VFORK |
48 | #define __ARCH_WANT_SYS_CLONE | 46 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index d3632eb98a1c..0ac66f67521f 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kconfig | |||
@@ -22,7 +22,6 @@ config OPENRISC | |||
22 | select GENERIC_STRNCPY_FROM_USER | 22 | select GENERIC_STRNCPY_FROM_USER |
23 | select GENERIC_STRNLEN_USER | 23 | select GENERIC_STRNLEN_USER |
24 | select MODULES_USE_ELF_RELA | 24 | select MODULES_USE_ELF_RELA |
25 | select GENERIC_SIGALTSTACK | ||
26 | 25 | ||
27 | config MMU | 26 | config MMU |
28 | def_bool y | 27 | def_bool y |
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 2bd407ffaebf..b77feffbadea 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
@@ -23,11 +23,6 @@ config PARISC | |||
23 | select HAVE_MOD_ARCH_SPECIFIC | 23 | select HAVE_MOD_ARCH_SPECIFIC |
24 | select MODULES_USE_ELF_RELA | 24 | select MODULES_USE_ELF_RELA |
25 | select CLONE_BACKWARDS | 25 | select CLONE_BACKWARDS |
26 | select GENERIC_SIGALTSTACK | ||
27 | select GENERIC_COMPAT_RT_SIGACTION | ||
28 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
29 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
30 | select GENERIC_COMPAT_RT_SIGPENDING | ||
31 | 26 | ||
32 | help | 27 | help |
33 | The PA-RISC microprocessor is designed by Hewlett-Packard and used | 28 | The PA-RISC microprocessor is designed by Hewlett-Packard and used |
diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h index 3043194547cd..93b1d089864b 100644 --- a/arch/parisc/include/asm/unistd.h +++ b/arch/parisc/include/asm/unistd.h | |||
@@ -160,9 +160,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \ | |||
160 | #define __ARCH_WANT_SYS_OLDUMOUNT | 160 | #define __ARCH_WANT_SYS_OLDUMOUNT |
161 | #define __ARCH_WANT_SYS_SIGPENDING | 161 | #define __ARCH_WANT_SYS_SIGPENDING |
162 | #define __ARCH_WANT_SYS_SIGPROCMASK | 162 | #define __ARCH_WANT_SYS_SIGPROCMASK |
163 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
164 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
165 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | ||
166 | #define __ARCH_WANT_SYS_FORK | 163 | #define __ARCH_WANT_SYS_FORK |
167 | #define __ARCH_WANT_SYS_VFORK | 164 | #define __ARCH_WANT_SYS_VFORK |
168 | #define __ARCH_WANT_SYS_CLONE | 165 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index ec89a7b11f7b..cf90f0526411 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -144,11 +144,6 @@ config PPC | |||
144 | select HAVE_MOD_ARCH_SPECIFIC | 144 | select HAVE_MOD_ARCH_SPECIFIC |
145 | select MODULES_USE_ELF_RELA | 145 | select MODULES_USE_ELF_RELA |
146 | select CLONE_BACKWARDS | 146 | select CLONE_BACKWARDS |
147 | select GENERIC_SIGALTSTACK | ||
148 | select GENERIC_COMPAT_RT_SIGACTION | ||
149 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
150 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
151 | select GENERIC_COMPAT_RT_SIGPENDING | ||
152 | select OLD_SIGSUSPEND | 147 | select OLD_SIGSUSPEND |
153 | select OLD_SIGACTION if PPC32 | 148 | select OLD_SIGACTION if PPC32 |
154 | 149 | ||
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index 1d4864a40e35..f25b5c45c435 100644 --- a/arch/powerpc/include/asm/unistd.h +++ b/arch/powerpc/include/asm/unistd.h | |||
@@ -44,17 +44,13 @@ | |||
44 | #define __ARCH_WANT_SYS_OLDUMOUNT | 44 | #define __ARCH_WANT_SYS_OLDUMOUNT |
45 | #define __ARCH_WANT_SYS_SIGPENDING | 45 | #define __ARCH_WANT_SYS_SIGPENDING |
46 | #define __ARCH_WANT_SYS_SIGPROCMASK | 46 | #define __ARCH_WANT_SYS_SIGPROCMASK |
47 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
48 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
49 | #ifdef CONFIG_PPC32 | 47 | #ifdef CONFIG_PPC32 |
50 | #define __ARCH_WANT_OLD_STAT | 48 | #define __ARCH_WANT_OLD_STAT |
51 | #endif | 49 | #endif |
52 | #ifdef CONFIG_PPC64 | 50 | #ifdef CONFIG_PPC64 |
53 | #define __ARCH_WANT_COMPAT_SYS_TIME | 51 | #define __ARCH_WANT_COMPAT_SYS_TIME |
54 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | ||
55 | #define __ARCH_WANT_SYS_NEWFSTATAT | 52 | #define __ARCH_WANT_SYS_NEWFSTATAT |
56 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE | 53 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE |
57 | #define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL | ||
58 | #endif | 54 | #endif |
59 | #define __ARCH_WANT_SYS_FORK | 55 | #define __ARCH_WANT_SYS_FORK |
60 | #define __ARCH_WANT_SYS_VFORK | 56 | #define __ARCH_WANT_SYS_VFORK |
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index bcdcf31fa672..ec12a3582ae9 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig | |||
@@ -140,11 +140,6 @@ config S390 | |||
140 | select HAVE_MOD_ARCH_SPECIFIC | 140 | select HAVE_MOD_ARCH_SPECIFIC |
141 | select MODULES_USE_ELF_RELA | 141 | select MODULES_USE_ELF_RELA |
142 | select CLONE_BACKWARDS2 | 142 | select CLONE_BACKWARDS2 |
143 | select GENERIC_SIGALTSTACK | ||
144 | select GENERIC_COMPAT_RT_SIGACTION | ||
145 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
146 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
147 | select GENERIC_COMPAT_RT_SIGPENDING | ||
148 | select OLD_SIGSUSPEND3 | 143 | select OLD_SIGSUSPEND3 |
149 | select OLD_SIGACTION | 144 | select OLD_SIGACTION |
150 | 145 | ||
diff --git a/arch/s390/include/asm/unistd.h b/arch/s390/include/asm/unistd.h index 636530872516..a6667a952969 100644 --- a/arch/s390/include/asm/unistd.h +++ b/arch/s390/include/asm/unistd.h | |||
@@ -43,15 +43,12 @@ | |||
43 | #define __ARCH_WANT_SYS_OLDUMOUNT | 43 | #define __ARCH_WANT_SYS_OLDUMOUNT |
44 | #define __ARCH_WANT_SYS_SIGPENDING | 44 | #define __ARCH_WANT_SYS_SIGPENDING |
45 | #define __ARCH_WANT_SYS_SIGPROCMASK | 45 | #define __ARCH_WANT_SYS_SIGPROCMASK |
46 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
47 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
48 | # ifndef CONFIG_64BIT | 46 | # ifndef CONFIG_64BIT |
49 | # define __ARCH_WANT_STAT64 | 47 | # define __ARCH_WANT_STAT64 |
50 | # define __ARCH_WANT_SYS_TIME | 48 | # define __ARCH_WANT_SYS_TIME |
51 | # endif | 49 | # endif |
52 | # ifdef CONFIG_COMPAT | 50 | # ifdef CONFIG_COMPAT |
53 | # define __ARCH_WANT_COMPAT_SYS_TIME | 51 | # define __ARCH_WANT_COMPAT_SYS_TIME |
54 | # define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | ||
55 | # endif | 52 | # endif |
56 | #define __ARCH_WANT_SYS_FORK | 53 | #define __ARCH_WANT_SYS_FORK |
57 | #define __ARCH_WANT_SYS_VFORK | 54 | #define __ARCH_WANT_SYS_VFORK |
diff --git a/arch/score/Kconfig b/arch/score/Kconfig index a125d7207bcc..3b1482e7afac 100644 --- a/arch/score/Kconfig +++ b/arch/score/Kconfig | |||
@@ -14,7 +14,6 @@ config SCORE | |||
14 | select HAVE_MOD_ARCH_SPECIFIC | 14 | select HAVE_MOD_ARCH_SPECIFIC |
15 | select MODULES_USE_ELF_REL | 15 | select MODULES_USE_ELF_REL |
16 | select CLONE_BACKWARDS | 16 | select CLONE_BACKWARDS |
17 | select GENERIC_SIGALTSTACK | ||
18 | 17 | ||
19 | choice | 18 | choice |
20 | prompt "System type" | 19 | prompt "System type" |
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index b5fd9f3c9925..5f9b0a3f5f00 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -40,7 +40,6 @@ config SUPERH | |||
40 | select GENERIC_STRNLEN_USER | 40 | select GENERIC_STRNLEN_USER |
41 | select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER | 41 | select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER |
42 | select MODULES_USE_ELF_RELA | 42 | select MODULES_USE_ELF_RELA |
43 | select GENERIC_SIGALTSTACK | ||
44 | select OLD_SIGSUSPEND | 43 | select OLD_SIGSUSPEND |
45 | select OLD_SIGACTION | 44 | select OLD_SIGACTION |
46 | help | 45 | help |
diff --git a/arch/sh/include/asm/unistd.h b/arch/sh/include/asm/unistd.h index 012004ed3330..5e90fa2b7eed 100644 --- a/arch/sh/include/asm/unistd.h +++ b/arch/sh/include/asm/unistd.h | |||
@@ -4,7 +4,6 @@ | |||
4 | # include <asm/unistd_64.h> | 4 | # include <asm/unistd_64.h> |
5 | # endif | 5 | # endif |
6 | 6 | ||
7 | # define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
8 | # define __ARCH_WANT_OLD_READDIR | 7 | # define __ARCH_WANT_OLD_READDIR |
9 | # define __ARCH_WANT_OLD_STAT | 8 | # define __ARCH_WANT_OLD_STAT |
10 | # define __ARCH_WANT_STAT64 | 9 | # define __ARCH_WANT_STAT64 |
@@ -27,7 +26,6 @@ | |||
27 | # define __ARCH_WANT_SYS_OLDUMOUNT | 26 | # define __ARCH_WANT_SYS_OLDUMOUNT |
28 | # define __ARCH_WANT_SYS_SIGPENDING | 27 | # define __ARCH_WANT_SYS_SIGPENDING |
29 | # define __ARCH_WANT_SYS_SIGPROCMASK | 28 | # define __ARCH_WANT_SYS_SIGPROCMASK |
30 | # define __ARCH_WANT_SYS_RT_SIGACTION | ||
31 | # define __ARCH_WANT_SYS_FORK | 29 | # define __ARCH_WANT_SYS_FORK |
32 | # define __ARCH_WANT_SYS_VFORK | 30 | # define __ARCH_WANT_SYS_VFORK |
33 | # define __ARCH_WANT_SYS_CLONE | 31 | # define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index e557b0821540..9821a0ff9864 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -42,11 +42,6 @@ config SPARC | |||
42 | select GENERIC_STRNLEN_USER | 42 | select GENERIC_STRNLEN_USER |
43 | select MODULES_USE_ELF_RELA | 43 | select MODULES_USE_ELF_RELA |
44 | select ODD_RT_SIGACTION | 44 | select ODD_RT_SIGACTION |
45 | select GENERIC_SIGALTSTACK | ||
46 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
47 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
48 | select GENERIC_COMPAT_RT_SIGPENDING | ||
49 | select GENERIC_COMPAT_RT_SIGACTION | ||
50 | select OLD_SIGSUSPEND | 45 | select OLD_SIGSUSPEND |
51 | 46 | ||
52 | config SPARC32 | 47 | config SPARC32 |
diff --git a/arch/sparc/include/asm/unistd.h b/arch/sparc/include/asm/unistd.h index 87ce24c5eb95..5356810bd7e7 100644 --- a/arch/sparc/include/asm/unistd.h +++ b/arch/sparc/include/asm/unistd.h | |||
@@ -38,14 +38,11 @@ | |||
38 | #define __ARCH_WANT_SYS_OLDUMOUNT | 38 | #define __ARCH_WANT_SYS_OLDUMOUNT |
39 | #define __ARCH_WANT_SYS_SIGPENDING | 39 | #define __ARCH_WANT_SYS_SIGPENDING |
40 | #define __ARCH_WANT_SYS_SIGPROCMASK | 40 | #define __ARCH_WANT_SYS_SIGPROCMASK |
41 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
42 | #ifdef __32bit_syscall_numbers__ | 41 | #ifdef __32bit_syscall_numbers__ |
43 | #define __ARCH_WANT_SYS_IPC | 42 | #define __ARCH_WANT_SYS_IPC |
44 | #else | 43 | #else |
45 | #define __ARCH_WANT_COMPAT_SYS_TIME | 44 | #define __ARCH_WANT_COMPAT_SYS_TIME |
46 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | ||
47 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE | 45 | #define __ARCH_WANT_COMPAT_SYS_SENDFILE |
48 | #define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL | ||
49 | #endif | 46 | #endif |
50 | 47 | ||
51 | /* | 48 | /* |
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index 96a717ebb1fa..875d008828b8 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
@@ -21,11 +21,6 @@ config TILE | |||
21 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 21 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
22 | select GENERIC_CLOCKEVENTS | 22 | select GENERIC_CLOCKEVENTS |
23 | select MODULES_USE_ELF_RELA | 23 | select MODULES_USE_ELF_RELA |
24 | select GENERIC_SIGALTSTACK | ||
25 | select GENERIC_COMPAT_RT_SIGACTION | ||
26 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
27 | select GENERIC_COMPAT_RT_SIGPROCMASK | ||
28 | select GENERIC_COMPAT_RT_SIGPENDING | ||
29 | 24 | ||
30 | # FIXME: investigate whether we need/want these options. | 25 | # FIXME: investigate whether we need/want these options. |
31 | # select HAVE_IOREMAP_PROT | 26 | # select HAVE_IOREMAP_PROT |
diff --git a/arch/tile/include/asm/unistd.h b/arch/tile/include/asm/unistd.h index 6ac21034f69a..940831fe9e94 100644 --- a/arch/tile/include/asm/unistd.h +++ b/arch/tile/include/asm/unistd.h | |||
@@ -14,7 +14,6 @@ | |||
14 | /* In compat mode, we use sys_llseek() for compat_sys_llseek(). */ | 14 | /* In compat mode, we use sys_llseek() for compat_sys_llseek(). */ |
15 | #ifdef CONFIG_COMPAT | 15 | #ifdef CONFIG_COMPAT |
16 | #define __ARCH_WANT_SYS_LLSEEK | 16 | #define __ARCH_WANT_SYS_LLSEEK |
17 | #define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL | ||
18 | #endif | 17 | #endif |
19 | #define __ARCH_WANT_SYS_NEWFSTATAT | 18 | #define __ARCH_WANT_SYS_NEWFSTATAT |
20 | #define __ARCH_WANT_SYS_CLONE | 19 | #define __ARCH_WANT_SYS_CLONE |
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index a62786fdcaab..60651df5f952 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfig | |||
@@ -16,7 +16,6 @@ config UNICORE32 | |||
16 | select ARCH_WANT_FRAME_POINTERS | 16 | select ARCH_WANT_FRAME_POINTERS |
17 | select GENERIC_IOMAP | 17 | select GENERIC_IOMAP |
18 | select MODULES_USE_ELF_REL | 18 | select MODULES_USE_ELF_REL |
19 | select GENERIC_SIGALTSTACK | ||
20 | help | 19 | help |
21 | UniCore-32 is 32-bit Instruction Set Architecture, | 20 | UniCore-32 is 32-bit Instruction Set Architecture, |
22 | including a series of low-power-consumption RISC chip | 21 | including a series of low-power-consumption RISC chip |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 87d09175a0a9..49fb44e95f3c 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -113,10 +113,6 @@ config X86 | |||
113 | select MODULES_USE_ELF_REL if X86_32 | 113 | select MODULES_USE_ELF_REL if X86_32 |
114 | select MODULES_USE_ELF_RELA if X86_64 | 114 | select MODULES_USE_ELF_RELA if X86_64 |
115 | select CLONE_BACKWARDS if X86_32 | 115 | select CLONE_BACKWARDS if X86_32 |
116 | select GENERIC_SIGALTSTACK | ||
117 | select GENERIC_COMPAT_RT_SIGACTION | ||
118 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
119 | select GENERIC_COMPAT_RT_SIGPENDING | ||
120 | select OLD_SIGSUSPEND3 if X86_32 || IA32_EMULATION | 116 | select OLD_SIGSUSPEND3 if X86_32 || IA32_EMULATION |
121 | select OLD_SIGACTION if X86_32 | 117 | select OLD_SIGACTION if X86_32 |
122 | select COMPAT_OLD_SIGACTION if IA32_EMULATION | 118 | select COMPAT_OLD_SIGACTION if IA32_EMULATION |
diff --git a/arch/x86/include/asm/unistd.h b/arch/x86/include/asm/unistd.h index a0790e07ba65..3d5df1c4447f 100644 --- a/arch/x86/include/asm/unistd.h +++ b/arch/x86/include/asm/unistd.h | |||
@@ -38,8 +38,6 @@ | |||
38 | # define __ARCH_WANT_SYS_OLD_GETRLIMIT | 38 | # define __ARCH_WANT_SYS_OLD_GETRLIMIT |
39 | # define __ARCH_WANT_SYS_OLD_UNAME | 39 | # define __ARCH_WANT_SYS_OLD_UNAME |
40 | # define __ARCH_WANT_SYS_PAUSE | 40 | # define __ARCH_WANT_SYS_PAUSE |
41 | # define __ARCH_WANT_SYS_RT_SIGACTION | ||
42 | # define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
43 | # define __ARCH_WANT_SYS_SGETMASK | 41 | # define __ARCH_WANT_SYS_SGETMASK |
44 | # define __ARCH_WANT_SYS_SIGNAL | 42 | # define __ARCH_WANT_SYS_SIGNAL |
45 | # define __ARCH_WANT_SYS_SIGPENDING | 43 | # define __ARCH_WANT_SYS_SIGPENDING |
diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig index cf0f2731484e..fafc94193bc8 100644 --- a/arch/x86/um/Kconfig +++ b/arch/x86/um/Kconfig | |||
@@ -13,7 +13,6 @@ endmenu | |||
13 | config UML_X86 | 13 | config UML_X86 |
14 | def_bool y | 14 | def_bool y |
15 | select GENERIC_FIND_FIRST_BIT | 15 | select GENERIC_FIND_FIRST_BIT |
16 | select GENERIC_SIGALTSTACK | ||
17 | 16 | ||
18 | config 64BIT | 17 | config 64BIT |
19 | bool "64-bit kernel" if SUBARCH = "x86" | 18 | bool "64-bit kernel" if SUBARCH = "x86" |
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 23cc6ae35da0..5aab1acabf1c 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -16,7 +16,6 @@ config XTENSA | |||
16 | select ARCH_WANT_OPTIONAL_GPIOLIB | 16 | select ARCH_WANT_OPTIONAL_GPIOLIB |
17 | select CLONE_BACKWARDS | 17 | select CLONE_BACKWARDS |
18 | select IRQ_DOMAIN | 18 | select IRQ_DOMAIN |
19 | select GENERIC_SIGALTSTACK | ||
20 | help | 19 | help |
21 | Xtensa processors are 32-bit RISC machines designed by Tensilica | 20 | Xtensa processors are 32-bit RISC machines designed by Tensilica |
22 | primarily for embedded systems. These processors are both | 21 | primarily for embedded systems. These processors are both |
diff --git a/arch/xtensa/include/asm/unistd.h b/arch/xtensa/include/asm/unistd.h index eb63ea87815c..c38834de9ac7 100644 --- a/arch/xtensa/include/asm/unistd.h +++ b/arch/xtensa/include/asm/unistd.h | |||
@@ -15,8 +15,6 @@ | |||
15 | #define __ARCH_WANT_STAT64 | 15 | #define __ARCH_WANT_STAT64 |
16 | #define __ARCH_WANT_SYS_UTIME | 16 | #define __ARCH_WANT_SYS_UTIME |
17 | #define __ARCH_WANT_SYS_LLSEEK | 17 | #define __ARCH_WANT_SYS_LLSEEK |
18 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
19 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
20 | #define __ARCH_WANT_SYS_GETPGRP | 18 | #define __ARCH_WANT_SYS_GETPGRP |
21 | 19 | ||
22 | /* | 20 | /* |
diff --git a/include/asm-generic/syscalls.h b/include/asm-generic/syscalls.h index 9e25a3179d6c..1f74be5113b2 100644 --- a/include/asm-generic/syscalls.h +++ b/include/asm-generic/syscalls.h | |||
@@ -21,13 +21,6 @@ asmlinkage long sys_mmap(unsigned long addr, unsigned long len, | |||
21 | unsigned long fd, off_t pgoff); | 21 | unsigned long fd, off_t pgoff); |
22 | #endif | 22 | #endif |
23 | 23 | ||
24 | #ifndef CONFIG_GENERIC_SIGALTSTACK | ||
25 | #ifndef sys_sigaltstack | ||
26 | asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *, | ||
27 | struct pt_regs *); | ||
28 | #endif | ||
29 | #endif | ||
30 | |||
31 | #ifndef sys_rt_sigreturn | 24 | #ifndef sys_rt_sigreturn |
32 | asmlinkage long sys_rt_sigreturn(struct pt_regs *regs); | 25 | asmlinkage long sys_rt_sigreturn(struct pt_regs *regs); |
33 | #endif | 26 | #endif |
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index a36991ab334e..257c55ec4f77 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h | |||
@@ -9,9 +9,6 @@ | |||
9 | #define __ARCH_WANT_STAT64 | 9 | #define __ARCH_WANT_STAT64 |
10 | #define __ARCH_WANT_SYS_LLSEEK | 10 | #define __ARCH_WANT_SYS_LLSEEK |
11 | #endif | 11 | #endif |
12 | #define __ARCH_WANT_SYS_RT_SIGACTION | ||
13 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
14 | #define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND | ||
15 | 12 | ||
16 | /* | 13 | /* |
17 | * "Conditional" syscalls | 14 | * "Conditional" syscalls |
diff --git a/include/linux/compat.h b/include/linux/compat.h index 8de903587fb9..de095b0462a7 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
@@ -68,7 +68,6 @@ | |||
68 | #ifndef compat_user_stack_pointer | 68 | #ifndef compat_user_stack_pointer |
69 | #define compat_user_stack_pointer() current_user_stack_pointer() | 69 | #define compat_user_stack_pointer() current_user_stack_pointer() |
70 | #endif | 70 | #endif |
71 | #ifdef CONFIG_GENERIC_SIGALTSTACK | ||
72 | #ifndef compat_sigaltstack /* we'll need that for MIPS */ | 71 | #ifndef compat_sigaltstack /* we'll need that for MIPS */ |
73 | typedef struct compat_sigaltstack { | 72 | typedef struct compat_sigaltstack { |
74 | compat_uptr_t ss_sp; | 73 | compat_uptr_t ss_sp; |
@@ -76,7 +75,6 @@ typedef struct compat_sigaltstack { | |||
76 | compat_size_t ss_size; | 75 | compat_size_t ss_size; |
77 | } compat_stack_t; | 76 | } compat_stack_t; |
78 | #endif | 77 | #endif |
79 | #endif | ||
80 | 78 | ||
81 | #define compat_jiffies_to_clock_t(x) \ | 79 | #define compat_jiffies_to_clock_t(x) \ |
82 | (((unsigned long)(x) * COMPAT_USER_HZ) / HZ) | 80 | (((unsigned long)(x) * COMPAT_USER_HZ) / HZ) |
@@ -142,7 +140,6 @@ typedef struct { | |||
142 | compat_sigset_word sig[_COMPAT_NSIG_WORDS]; | 140 | compat_sigset_word sig[_COMPAT_NSIG_WORDS]; |
143 | } compat_sigset_t; | 141 | } compat_sigset_t; |
144 | 142 | ||
145 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGACTION | ||
146 | struct compat_sigaction { | 143 | struct compat_sigaction { |
147 | #ifndef __ARCH_HAS_ODD_SIGACTION | 144 | #ifndef __ARCH_HAS_ODD_SIGACTION |
148 | compat_uptr_t sa_handler; | 145 | compat_uptr_t sa_handler; |
@@ -156,7 +153,6 @@ struct compat_sigaction { | |||
156 | #endif | 153 | #endif |
157 | compat_sigset_t sa_mask __packed; | 154 | compat_sigset_t sa_mask __packed; |
158 | }; | 155 | }; |
159 | #endif | ||
160 | 156 | ||
161 | /* | 157 | /* |
162 | * These functions operate strictly on struct compat_time* | 158 | * These functions operate strictly on struct compat_time* |
@@ -623,27 +619,19 @@ asmlinkage long compat_sys_rt_sigtimedwait(compat_sigset_t __user *uthese, | |||
623 | struct compat_timespec __user *uts, compat_size_t sigsetsize); | 619 | struct compat_timespec __user *uts, compat_size_t sigsetsize); |
624 | asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, | 620 | asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, |
625 | compat_size_t sigsetsize); | 621 | compat_size_t sigsetsize); |
626 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGPROCMASK | ||
627 | asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set, | 622 | asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set, |
628 | compat_sigset_t __user *oset, | 623 | compat_sigset_t __user *oset, |
629 | compat_size_t sigsetsize); | 624 | compat_size_t sigsetsize); |
630 | #endif | ||
631 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGPENDING | ||
632 | asmlinkage long compat_sys_rt_sigpending(compat_sigset_t __user *uset, | 625 | asmlinkage long compat_sys_rt_sigpending(compat_sigset_t __user *uset, |
633 | compat_size_t sigsetsize); | 626 | compat_size_t sigsetsize); |
634 | #endif | ||
635 | #ifndef CONFIG_ODD_RT_SIGACTION | 627 | #ifndef CONFIG_ODD_RT_SIGACTION |
636 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGACTION | ||
637 | asmlinkage long compat_sys_rt_sigaction(int, | 628 | asmlinkage long compat_sys_rt_sigaction(int, |
638 | const struct compat_sigaction __user *, | 629 | const struct compat_sigaction __user *, |
639 | struct compat_sigaction __user *, | 630 | struct compat_sigaction __user *, |
640 | compat_size_t); | 631 | compat_size_t); |
641 | #endif | 632 | #endif |
642 | #endif | ||
643 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
644 | asmlinkage long compat_sys_rt_sigqueueinfo(compat_pid_t pid, int sig, | 633 | asmlinkage long compat_sys_rt_sigqueueinfo(compat_pid_t pid, int sig, |
645 | struct compat_siginfo __user *uinfo); | 634 | struct compat_siginfo __user *uinfo); |
646 | #endif | ||
647 | asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info); | 635 | asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info); |
648 | asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, | 636 | asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, |
649 | unsigned long arg); | 637 | unsigned long arg); |
@@ -694,13 +682,11 @@ asmlinkage ssize_t compat_sys_process_vm_writev(compat_pid_t pid, | |||
694 | 682 | ||
695 | asmlinkage long compat_sys_sendfile(int out_fd, int in_fd, | 683 | asmlinkage long compat_sys_sendfile(int out_fd, int in_fd, |
696 | compat_off_t __user *offset, compat_size_t count); | 684 | compat_off_t __user *offset, compat_size_t count); |
697 | #ifdef CONFIG_GENERIC_SIGALTSTACK | ||
698 | asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, | 685 | asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, |
699 | compat_stack_t __user *uoss_ptr); | 686 | compat_stack_t __user *uoss_ptr); |
700 | 687 | ||
701 | int compat_restore_altstack(const compat_stack_t __user *uss); | 688 | int compat_restore_altstack(const compat_stack_t __user *uss); |
702 | int __compat_save_altstack(compat_stack_t __user *, unsigned long); | 689 | int __compat_save_altstack(compat_stack_t __user *, unsigned long); |
703 | #endif | ||
704 | 690 | ||
705 | asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid, | 691 | asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid, |
706 | struct compat_timespec __user *interval); | 692 | struct compat_timespec __user *interval); |
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 66d298f69f98..313a8e0a6553 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -300,10 +300,8 @@ asmlinkage long sys_personality(unsigned int personality); | |||
300 | asmlinkage long sys_sigpending(old_sigset_t __user *set); | 300 | asmlinkage long sys_sigpending(old_sigset_t __user *set); |
301 | asmlinkage long sys_sigprocmask(int how, old_sigset_t __user *set, | 301 | asmlinkage long sys_sigprocmask(int how, old_sigset_t __user *set, |
302 | old_sigset_t __user *oset); | 302 | old_sigset_t __user *oset); |
303 | #ifdef CONFIG_GENERIC_SIGALTSTACK | ||
304 | asmlinkage long sys_sigaltstack(const struct sigaltstack __user *uss, | 303 | asmlinkage long sys_sigaltstack(const struct sigaltstack __user *uss, |
305 | struct sigaltstack __user *uoss); | 304 | struct sigaltstack __user *uoss); |
306 | #endif | ||
307 | 305 | ||
308 | asmlinkage long sys_getitimer(int which, struct itimerval __user *value); | 306 | asmlinkage long sys_getitimer(int which, struct itimerval __user *value); |
309 | asmlinkage long sys_setitimer(int which, | 307 | asmlinkage long sys_setitimer(int which, |
diff --git a/kernel/signal.c b/kernel/signal.c index 6919050c8156..2b8282bb487c 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -2623,7 +2623,6 @@ SYSCALL_DEFINE4(rt_sigprocmask, int, how, sigset_t __user *, nset, | |||
2623 | } | 2623 | } |
2624 | 2624 | ||
2625 | #ifdef CONFIG_COMPAT | 2625 | #ifdef CONFIG_COMPAT |
2626 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGPROCMASK | ||
2627 | COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t __user *, nset, | 2626 | COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t __user *, nset, |
2628 | compat_sigset_t __user *, oset, compat_size_t, sigsetsize) | 2627 | compat_sigset_t __user *, oset, compat_size_t, sigsetsize) |
2629 | { | 2628 | { |
@@ -2661,7 +2660,6 @@ COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t __user *, nset, | |||
2661 | #endif | 2660 | #endif |
2662 | } | 2661 | } |
2663 | #endif | 2662 | #endif |
2664 | #endif | ||
2665 | 2663 | ||
2666 | static int do_sigpending(void *set, unsigned long sigsetsize) | 2664 | static int do_sigpending(void *set, unsigned long sigsetsize) |
2667 | { | 2665 | { |
@@ -2694,7 +2692,6 @@ SYSCALL_DEFINE2(rt_sigpending, sigset_t __user *, uset, size_t, sigsetsize) | |||
2694 | } | 2692 | } |
2695 | 2693 | ||
2696 | #ifdef CONFIG_COMPAT | 2694 | #ifdef CONFIG_COMPAT |
2697 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGPENDING | ||
2698 | COMPAT_SYSCALL_DEFINE2(rt_sigpending, compat_sigset_t __user *, uset, | 2695 | COMPAT_SYSCALL_DEFINE2(rt_sigpending, compat_sigset_t __user *, uset, |
2699 | compat_size_t, sigsetsize) | 2696 | compat_size_t, sigsetsize) |
2700 | { | 2697 | { |
@@ -2714,7 +2711,6 @@ COMPAT_SYSCALL_DEFINE2(rt_sigpending, compat_sigset_t __user *, uset, | |||
2714 | #endif | 2711 | #endif |
2715 | } | 2712 | } |
2716 | #endif | 2713 | #endif |
2717 | #endif | ||
2718 | 2714 | ||
2719 | #ifndef HAVE_ARCH_COPY_SIGINFO_TO_USER | 2715 | #ifndef HAVE_ARCH_COPY_SIGINFO_TO_USER |
2720 | 2716 | ||
@@ -3024,7 +3020,6 @@ SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig, | |||
3024 | } | 3020 | } |
3025 | 3021 | ||
3026 | #ifdef CONFIG_COMPAT | 3022 | #ifdef CONFIG_COMPAT |
3027 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
3028 | COMPAT_SYSCALL_DEFINE3(rt_sigqueueinfo, | 3023 | COMPAT_SYSCALL_DEFINE3(rt_sigqueueinfo, |
3029 | compat_pid_t, pid, | 3024 | compat_pid_t, pid, |
3030 | int, sig, | 3025 | int, sig, |
@@ -3037,7 +3032,6 @@ COMPAT_SYSCALL_DEFINE3(rt_sigqueueinfo, | |||
3037 | return do_rt_sigqueueinfo(pid, sig, &info); | 3032 | return do_rt_sigqueueinfo(pid, sig, &info); |
3038 | } | 3033 | } |
3039 | #endif | 3034 | #endif |
3040 | #endif | ||
3041 | 3035 | ||
3042 | static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info) | 3036 | static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info) |
3043 | { | 3037 | { |
@@ -3194,12 +3188,10 @@ do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long s | |||
3194 | out: | 3188 | out: |
3195 | return error; | 3189 | return error; |
3196 | } | 3190 | } |
3197 | #ifdef CONFIG_GENERIC_SIGALTSTACK | ||
3198 | SYSCALL_DEFINE2(sigaltstack,const stack_t __user *,uss, stack_t __user *,uoss) | 3191 | SYSCALL_DEFINE2(sigaltstack,const stack_t __user *,uss, stack_t __user *,uoss) |
3199 | { | 3192 | { |
3200 | return do_sigaltstack(uss, uoss, current_user_stack_pointer()); | 3193 | return do_sigaltstack(uss, uoss, current_user_stack_pointer()); |
3201 | } | 3194 | } |
3202 | #endif | ||
3203 | 3195 | ||
3204 | int restore_altstack(const stack_t __user *uss) | 3196 | int restore_altstack(const stack_t __user *uss) |
3205 | { | 3197 | { |
@@ -3217,7 +3209,6 @@ int __save_altstack(stack_t __user *uss, unsigned long sp) | |||
3217 | } | 3209 | } |
3218 | 3210 | ||
3219 | #ifdef CONFIG_COMPAT | 3211 | #ifdef CONFIG_COMPAT |
3220 | #ifdef CONFIG_GENERIC_SIGALTSTACK | ||
3221 | COMPAT_SYSCALL_DEFINE2(sigaltstack, | 3212 | COMPAT_SYSCALL_DEFINE2(sigaltstack, |
3222 | const compat_stack_t __user *, uss_ptr, | 3213 | const compat_stack_t __user *, uss_ptr, |
3223 | compat_stack_t __user *, uoss_ptr) | 3214 | compat_stack_t __user *, uoss_ptr) |
@@ -3267,7 +3258,6 @@ int __compat_save_altstack(compat_stack_t __user *uss, unsigned long sp) | |||
3267 | __put_user(t->sas_ss_size, &uss->ss_size); | 3258 | __put_user(t->sas_ss_size, &uss->ss_size); |
3268 | } | 3259 | } |
3269 | #endif | 3260 | #endif |
3270 | #endif | ||
3271 | 3261 | ||
3272 | #ifdef __ARCH_WANT_SYS_SIGPENDING | 3262 | #ifdef __ARCH_WANT_SYS_SIGPENDING |
3273 | 3263 | ||
@@ -3368,7 +3358,6 @@ out: | |||
3368 | return ret; | 3358 | return ret; |
3369 | } | 3359 | } |
3370 | #ifdef CONFIG_COMPAT | 3360 | #ifdef CONFIG_COMPAT |
3371 | #ifdef CONFIG_GENERIC_COMPAT_RT_SIGACTION | ||
3372 | COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig, | 3361 | COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig, |
3373 | const struct compat_sigaction __user *, act, | 3362 | const struct compat_sigaction __user *, act, |
3374 | struct compat_sigaction __user *, oact, | 3363 | struct compat_sigaction __user *, oact, |
@@ -3415,7 +3404,6 @@ COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig, | |||
3415 | return ret; | 3404 | return ret; |
3416 | } | 3405 | } |
3417 | #endif | 3406 | #endif |
3418 | #endif | ||
3419 | #endif /* !CONFIG_ODD_RT_SIGACTION */ | 3407 | #endif /* !CONFIG_ODD_RT_SIGACTION */ |
3420 | 3408 | ||
3421 | #ifdef CONFIG_OLD_SIGACTION | 3409 | #ifdef CONFIG_OLD_SIGACTION |