aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/syscalls.h7
-rw-r--r--include/asm-generic/unistd.h3
-rw-r--r--include/linux/compat.h14
-rw-r--r--include/linux/syscalls.h2
4 files changed, 0 insertions, 26 deletions
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
26asmlinkage 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
32asmlinkage long sys_rt_sigreturn(struct pt_regs *regs); 25asmlinkage 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 */
73typedef struct compat_sigaltstack { 72typedef 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
146struct compat_sigaction { 143struct 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);
624asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, 620asmlinkage 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
627asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set, 622asmlinkage 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
632asmlinkage long compat_sys_rt_sigpending(compat_sigset_t __user *uset, 625asmlinkage 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
637asmlinkage long compat_sys_rt_sigaction(int, 628asmlinkage 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
644asmlinkage long compat_sys_rt_sigqueueinfo(compat_pid_t pid, int sig, 633asmlinkage 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
647asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info); 635asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info);
648asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd, 636asmlinkage 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
695asmlinkage long compat_sys_sendfile(int out_fd, int in_fd, 683asmlinkage 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
698asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr, 685asmlinkage 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
701int compat_restore_altstack(const compat_stack_t __user *uss); 688int compat_restore_altstack(const compat_stack_t __user *uss);
702int __compat_save_altstack(compat_stack_t __user *, unsigned long); 689int __compat_save_altstack(compat_stack_t __user *, unsigned long);
703#endif
704 690
705asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid, 691asmlinkage 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);
300asmlinkage long sys_sigpending(old_sigset_t __user *set); 300asmlinkage long sys_sigpending(old_sigset_t __user *set);
301asmlinkage long sys_sigprocmask(int how, old_sigset_t __user *set, 301asmlinkage 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
304asmlinkage long sys_sigaltstack(const struct sigaltstack __user *uss, 303asmlinkage long sys_sigaltstack(const struct sigaltstack __user *uss,
305 struct sigaltstack __user *uoss); 304 struct sigaltstack __user *uoss);
306#endif
307 305
308asmlinkage long sys_getitimer(int which, struct itimerval __user *value); 306asmlinkage long sys_getitimer(int which, struct itimerval __user *value);
309asmlinkage long sys_setitimer(int which, 307asmlinkage long sys_setitimer(int which,