diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-02 11:34:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-02 11:34:06 -0500 |
commit | 14cc0b55b70e297a4b5411733d58c6cdc2d7f1be (patch) | |
tree | 2aa0fe9d267d5ae1ab1b47a67d31fbbc1dbf928e /arch/x86 | |
parent | 3cfb07743a5bffecba83f0da26444e85c0a9bfbb (diff) | |
parent | 0e803bafbb7d1b8a9031104f1a982a01b45da4c6 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal
Pull signal/compat fixes from Al Viro:
"Fixes for several regressions introduced in the last signal.git pile,
along with fixing bugs in truncate and ftruncate compat (on just about
anything biarch at least one of those two had been done wrong)."
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal:
compat: restore timerfd settime and gettime compat syscalls
[regression] braino in "sparc: convert to ksignal"
fix compat truncate/ftruncate
switch lseek to COMPAT_SYSCALL_DEFINE
lseek() and truncate() on sparc really need sign extension
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/ia32/sys_ia32.c | 5 | ||||
-rw-r--r-- | arch/x86/include/asm/sys_ia32.h | 1 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_32.tbl | 6 |
3 files changed, 3 insertions, 9 deletions
diff --git a/arch/x86/ia32/sys_ia32.c b/arch/x86/ia32/sys_ia32.c index 592f5a9a9c0e..ad7a20cbc699 100644 --- a/arch/x86/ia32/sys_ia32.c +++ b/arch/x86/ia32/sys_ia32.c | |||
@@ -218,11 +218,6 @@ asmlinkage long sys32_sendfile(int out_fd, int in_fd, | |||
218 | * Some system calls that need sign extended arguments. This could be | 218 | * Some system calls that need sign extended arguments. This could be |
219 | * done by a generic wrapper. | 219 | * done by a generic wrapper. |
220 | */ | 220 | */ |
221 | long sys32_lseek(unsigned int fd, int offset, unsigned int whence) | ||
222 | { | ||
223 | return sys_lseek(fd, offset, whence); | ||
224 | } | ||
225 | |||
226 | long sys32_kill(int pid, int sig) | 221 | long sys32_kill(int pid, int sig) |
227 | { | 222 | { |
228 | return sys_kill(pid, sig); | 223 | return sys_kill(pid, sig); |
diff --git a/arch/x86/include/asm/sys_ia32.h b/arch/x86/include/asm/sys_ia32.h index 0218d917f509..8459efc39686 100644 --- a/arch/x86/include/asm/sys_ia32.h +++ b/arch/x86/include/asm/sys_ia32.h | |||
@@ -43,7 +43,6 @@ asmlinkage long sys32_pwrite(unsigned int, const char __user *, u32, u32, u32); | |||
43 | asmlinkage long sys32_personality(unsigned long); | 43 | asmlinkage long sys32_personality(unsigned long); |
44 | asmlinkage long sys32_sendfile(int, int, compat_off_t __user *, s32); | 44 | asmlinkage long sys32_sendfile(int, int, compat_off_t __user *, s32); |
45 | 45 | ||
46 | long sys32_lseek(unsigned int, int, unsigned int); | ||
47 | long sys32_kill(int, int); | 46 | long sys32_kill(int, int); |
48 | long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int); | 47 | long sys32_fadvise64_64(int, __u32, __u32, __u32, __u32, int); |
49 | long sys32_vm86_warning(void); | 48 | long sys32_vm86_warning(void); |
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index f2fe78ff22cc..e6d55f0064df 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl | |||
@@ -25,7 +25,7 @@ | |||
25 | 16 i386 lchown sys_lchown16 | 25 | 16 i386 lchown sys_lchown16 |
26 | 17 i386 break | 26 | 17 i386 break |
27 | 18 i386 oldstat sys_stat | 27 | 18 i386 oldstat sys_stat |
28 | 19 i386 lseek sys_lseek sys32_lseek | 28 | 19 i386 lseek sys_lseek compat_sys_lseek |
29 | 20 i386 getpid sys_getpid | 29 | 20 i386 getpid sys_getpid |
30 | 21 i386 mount sys_mount compat_sys_mount | 30 | 21 i386 mount sys_mount compat_sys_mount |
31 | 22 i386 umount sys_oldumount | 31 | 22 i386 umount sys_oldumount |
@@ -98,8 +98,8 @@ | |||
98 | 89 i386 readdir sys_old_readdir compat_sys_old_readdir | 98 | 89 i386 readdir sys_old_readdir compat_sys_old_readdir |
99 | 90 i386 mmap sys_old_mmap sys32_mmap | 99 | 90 i386 mmap sys_old_mmap sys32_mmap |
100 | 91 i386 munmap sys_munmap | 100 | 91 i386 munmap sys_munmap |
101 | 92 i386 truncate sys_truncate | 101 | 92 i386 truncate sys_truncate compat_sys_truncate |
102 | 93 i386 ftruncate sys_ftruncate | 102 | 93 i386 ftruncate sys_ftruncate compat_sys_ftruncate |
103 | 94 i386 fchmod sys_fchmod | 103 | 94 i386 fchmod sys_fchmod |
104 | 95 i386 fchown sys_fchown16 | 104 | 95 i386 fchown sys_fchown16 |
105 | 96 i386 getpriority sys_getpriority | 105 | 96 i386 getpriority sys_getpriority |