diff options
-rw-r--r-- | arch/x86/Kconfig | 1 | ||||
-rw-r--r-- | arch/x86/ia32/sys_ia32.c | 15 | ||||
-rw-r--r-- | arch/x86/include/asm/sys_ia32.h | 1 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_32.tbl | 2 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_64.tbl | 2 |
5 files changed, 3 insertions, 18 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 38018ecc74f6..9f031118f856 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -114,6 +114,7 @@ config X86 | |||
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 | 116 | select GENERIC_SIGALTSTACK |
117 | select GENERIC_COMPAT_RT_SIGQUEUEINFO | ||
117 | select GENERIC_COMPAT_RT_SIGPENDING | 118 | select GENERIC_COMPAT_RT_SIGPENDING |
118 | 119 | ||
119 | config INSTRUCTION_DECODER | 120 | config INSTRUCTION_DECODER |
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c index b417fc1c7690..0306fdc97260 100644 --- a/arch/x86/ia32/sys_ia32.c +++ b/arch/x86/ia32/sys_ia32.c | |||
@@ -310,21 +310,6 @@ asmlinkage long sys32_sched_rr_get_interval(compat_pid_t pid, | |||
310 | return ret; | 310 | return ret; |
311 | } | 311 | } |
312 | 312 | ||
313 | asmlinkage long sys32_rt_sigqueueinfo(int pid, int sig, | ||
314 | compat_siginfo_t __user *uinfo) | ||
315 | { | ||
316 | siginfo_t info; | ||
317 | int ret; | ||
318 | mm_segment_t old_fs = get_fs(); | ||
319 | |||
320 | if (copy_siginfo_from_user32(&info, uinfo)) | ||
321 | return -EFAULT; | ||
322 | set_fs(KERNEL_DS); | ||
323 | ret = sys_rt_sigqueueinfo(pid, sig, (siginfo_t __user *)&info); | ||
324 | set_fs(old_fs); | ||
325 | return ret; | ||
326 | } | ||
327 | |||
328 | /* warning: next two assume little endian */ | 313 | /* warning: next two assume little endian */ |
329 | asmlinkage long sys32_pread(unsigned int fd, char __user *ubuf, u32 count, | 314 | asmlinkage long sys32_pread(unsigned int fd, char __user *ubuf, u32 count, |
330 | u32 poslo, u32 poshi) | 315 | u32 poslo, u32 poshi) |
diff --git a/arch/x86/include/asm/sys_ia32.h b/arch/x86/include/asm/sys_ia32.h index ff429b02c256..e3a893167387 100644 --- a/arch/x86/include/asm/sys_ia32.h +++ b/arch/x86/include/asm/sys_ia32.h | |||
@@ -45,7 +45,6 @@ asmlinkage long sys32_sysfs(int, u32, u32); | |||
45 | 45 | ||
46 | asmlinkage long sys32_sched_rr_get_interval(compat_pid_t, | 46 | asmlinkage long sys32_sched_rr_get_interval(compat_pid_t, |
47 | struct compat_timespec __user *); | 47 | struct compat_timespec __user *); |
48 | asmlinkage long sys32_rt_sigqueueinfo(int, int, compat_siginfo_t __user *); | ||
49 | 48 | ||
50 | asmlinkage long sys32_pread(unsigned int, char __user *, u32, u32, u32); | 49 | asmlinkage long sys32_pread(unsigned int, char __user *, u32, u32, u32); |
51 | asmlinkage long sys32_pwrite(unsigned int, const char __user *, u32, u32, u32); | 50 | asmlinkage long sys32_pwrite(unsigned int, const char __user *, u32, u32, u32); |
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index 5a55e84f4d04..9c707c4b4811 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl | |||
@@ -184,7 +184,7 @@ | |||
184 | 175 i386 rt_sigprocmask sys_rt_sigprocmask | 184 | 175 i386 rt_sigprocmask sys_rt_sigprocmask |
185 | 176 i386 rt_sigpending sys_rt_sigpending compat_sys_rt_sigpending | 185 | 176 i386 rt_sigpending sys_rt_sigpending compat_sys_rt_sigpending |
186 | 177 i386 rt_sigtimedwait sys_rt_sigtimedwait compat_sys_rt_sigtimedwait | 186 | 177 i386 rt_sigtimedwait sys_rt_sigtimedwait compat_sys_rt_sigtimedwait |
187 | 178 i386 rt_sigqueueinfo sys_rt_sigqueueinfo sys32_rt_sigqueueinfo | 187 | 178 i386 rt_sigqueueinfo sys_rt_sigqueueinfo compat_sys_rt_sigqueueinfo |
188 | 179 i386 rt_sigsuspend sys_rt_sigsuspend | 188 | 179 i386 rt_sigsuspend sys_rt_sigsuspend |
189 | 180 i386 pread64 sys_pread64 sys32_pread | 189 | 180 i386 pread64 sys_pread64 sys32_pread |
190 | 181 i386 pwrite64 sys_pwrite64 sys32_pwrite | 190 | 181 i386 pwrite64 sys_pwrite64 sys32_pwrite |
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index dbde26d7d528..6ceaa636e808 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl | |||
@@ -337,7 +337,7 @@ | |||
337 | 521 x32 ptrace compat_sys_ptrace | 337 | 521 x32 ptrace compat_sys_ptrace |
338 | 522 x32 rt_sigpending compat_sys_rt_sigpending | 338 | 522 x32 rt_sigpending compat_sys_rt_sigpending |
339 | 523 x32 rt_sigtimedwait compat_sys_rt_sigtimedwait | 339 | 523 x32 rt_sigtimedwait compat_sys_rt_sigtimedwait |
340 | 524 x32 rt_sigqueueinfo sys32_rt_sigqueueinfo | 340 | 524 x32 rt_sigqueueinfo compat_sys_rt_sigqueueinfo |
341 | 525 x32 sigaltstack compat_sys_sigaltstack | 341 | 525 x32 sigaltstack compat_sys_sigaltstack |
342 | 526 x32 timer_create compat_sys_timer_create | 342 | 526 x32 timer_create compat_sys_timer_create |
343 | 527 x32 mq_notify compat_sys_mq_notify | 343 | 527 x32 mq_notify compat_sys_mq_notify |