diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/include/asm/unistd32.h | 6 | ||||
-rw-r--r-- | arch/arm64/kernel/sys32.S | 5 | ||||
-rw-r--r-- | arch/mips/kernel/scall64-o32.S | 4 | ||||
-rw-r--r-- | arch/parisc/kernel/sys_parisc32.c | 10 | ||||
-rw-r--r-- | arch/parisc/kernel/syscall_table.S | 6 | ||||
-rw-r--r-- | arch/powerpc/include/asm/systbl.h | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/sys_ppc32.c | 18 | ||||
-rw-r--r-- | arch/s390/kernel/compat_wrapper.S | 16 | ||||
-rw-r--r-- | arch/s390/kernel/syscalls.S | 6 | ||||
-rw-r--r-- | arch/sparc/kernel/signal32.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/systbls_64.S | 6 | ||||
-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 |
14 files changed, 19 insertions, 74 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index e60e386178d1..12f22492df4c 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h | |||
@@ -40,7 +40,7 @@ __SYSCALL(15, sys_chmod) | |||
40 | __SYSCALL(16, sys_lchown16) | 40 | __SYSCALL(16, sys_lchown16) |
41 | __SYSCALL(17, sys_ni_syscall) /* 17 was sys_break */ | 41 | __SYSCALL(17, sys_ni_syscall) /* 17 was sys_break */ |
42 | __SYSCALL(18, sys_ni_syscall) /* 18 was sys_stat */ | 42 | __SYSCALL(18, sys_ni_syscall) /* 18 was sys_stat */ |
43 | __SYSCALL(19, compat_sys_lseek_wrapper) | 43 | __SYSCALL(19, compat_sys_lseek) |
44 | __SYSCALL(20, sys_getpid) | 44 | __SYSCALL(20, sys_getpid) |
45 | __SYSCALL(21, compat_sys_mount) | 45 | __SYSCALL(21, compat_sys_mount) |
46 | __SYSCALL(22, sys_ni_syscall) /* 22 was sys_umount */ | 46 | __SYSCALL(22, sys_ni_syscall) /* 22 was sys_umount */ |
@@ -113,8 +113,8 @@ __SYSCALL(88, sys_reboot) | |||
113 | __SYSCALL(89, sys_ni_syscall) /* 89 was sys_readdir */ | 113 | __SYSCALL(89, sys_ni_syscall) /* 89 was sys_readdir */ |
114 | __SYSCALL(90, sys_ni_syscall) /* 90 was sys_mmap */ | 114 | __SYSCALL(90, sys_ni_syscall) /* 90 was sys_mmap */ |
115 | __SYSCALL(91, sys_munmap) | 115 | __SYSCALL(91, sys_munmap) |
116 | __SYSCALL(92, sys_truncate) | 116 | __SYSCALL(92, compat_sys_truncate) |
117 | __SYSCALL(93, sys_ftruncate) | 117 | __SYSCALL(93, compat_sys_ftruncate) |
118 | __SYSCALL(94, sys_fchmod) | 118 | __SYSCALL(94, sys_fchmod) |
119 | __SYSCALL(95, sys_fchown16) | 119 | __SYSCALL(95, sys_fchown16) |
120 | __SYSCALL(96, sys_getpriority) | 120 | __SYSCALL(96, sys_getpriority) |
diff --git a/arch/arm64/kernel/sys32.S b/arch/arm64/kernel/sys32.S index 6abb05721614..9416d045a687 100644 --- a/arch/arm64/kernel/sys32.S +++ b/arch/arm64/kernel/sys32.S | |||
@@ -58,11 +58,6 @@ ENDPROC(compat_sys_fstatfs64_wrapper) | |||
58 | * in registers or that take 32-bit parameters which require sign | 58 | * in registers or that take 32-bit parameters which require sign |
59 | * extension. | 59 | * extension. |
60 | */ | 60 | */ |
61 | compat_sys_lseek_wrapper: | ||
62 | sxtw x1, w1 | ||
63 | b sys_lseek | ||
64 | ENDPROC(compat_sys_lseek_wrapper) | ||
65 | |||
66 | compat_sys_pread64_wrapper: | 61 | compat_sys_pread64_wrapper: |
67 | orr x3, x4, x5, lsl #32 | 62 | orr x3, x4, x5, lsl #32 |
68 | b sys_pread64 | 63 | b sys_pread64 |
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index 402d7469e1a0..af8887f779f1 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S | |||
@@ -284,8 +284,8 @@ sys_call_table: | |||
284 | PTR compat_sys_old_readdir | 284 | PTR compat_sys_old_readdir |
285 | PTR sys_mips_mmap /* 4090 */ | 285 | PTR sys_mips_mmap /* 4090 */ |
286 | PTR sys_munmap | 286 | PTR sys_munmap |
287 | PTR sys_truncate | 287 | PTR compat_sys_truncate |
288 | PTR sys_ftruncate | 288 | PTR compat_sys_ftruncate |
289 | PTR sys_fchmod | 289 | PTR sys_fchmod |
290 | PTR sys_fchown /* 4095 */ | 290 | PTR sys_fchown /* 4095 */ |
291 | PTR sys_getpriority | 291 | PTR sys_getpriority |
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c index eca69bb8ef5f..051c8b90231f 100644 --- a/arch/parisc/kernel/sys_parisc32.c +++ b/arch/parisc/kernel/sys_parisc32.c | |||
@@ -79,16 +79,6 @@ asmlinkage long sys32_sendfile64(u32 out_fd, u32 in_fd, | |||
79 | (loff_t __user *)offset, count); | 79 | (loff_t __user *)offset, count); |
80 | } | 80 | } |
81 | 81 | ||
82 | |||
83 | /* lseek() needs a wrapper because 'offset' can be negative, but the top | ||
84 | * half of the argument has been zeroed by syscall.S. | ||
85 | */ | ||
86 | |||
87 | asmlinkage int sys32_lseek(unsigned int fd, int offset, unsigned int origin) | ||
88 | { | ||
89 | return sys_lseek(fd, offset, origin); | ||
90 | } | ||
91 | |||
92 | asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg) | 82 | asmlinkage long sys32_semctl(int semid, int semnum, int cmd, union semun arg) |
93 | { | 83 | { |
94 | union semun u; | 84 | union semun u; |
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index fc9cab1cc2df..884b91b028f0 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S | |||
@@ -76,7 +76,7 @@ | |||
76 | ENTRY_SAME(socket) | 76 | ENTRY_SAME(socket) |
77 | /* struct stat is MAYBE identical wide and narrow ?? */ | 77 | /* struct stat is MAYBE identical wide and narrow ?? */ |
78 | ENTRY_COMP(newstat) | 78 | ENTRY_COMP(newstat) |
79 | ENTRY_DIFF(lseek) | 79 | ENTRY_COMP(lseek) |
80 | ENTRY_SAME(getpid) /* 20 */ | 80 | ENTRY_SAME(getpid) /* 20 */ |
81 | /* the 'void * data' parameter may need re-packing in wide */ | 81 | /* the 'void * data' parameter may need re-packing in wide */ |
82 | ENTRY_COMP(mount) | 82 | ENTRY_COMP(mount) |
@@ -165,8 +165,8 @@ | |||
165 | ENTRY_SAME(mmap2) | 165 | ENTRY_SAME(mmap2) |
166 | ENTRY_SAME(mmap) /* 90 */ | 166 | ENTRY_SAME(mmap) /* 90 */ |
167 | ENTRY_SAME(munmap) | 167 | ENTRY_SAME(munmap) |
168 | ENTRY_SAME(truncate) | 168 | ENTRY_COMP(truncate) |
169 | ENTRY_SAME(ftruncate) | 169 | ENTRY_COMP(ftruncate) |
170 | ENTRY_SAME(fchmod) | 170 | ENTRY_SAME(fchmod) |
171 | ENTRY_SAME(fchown) /* 95 */ | 171 | ENTRY_SAME(fchown) /* 95 */ |
172 | ENTRY_SAME(getpriority) | 172 | ENTRY_SAME(getpriority) |
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index d906f33441c6..535b6d8a41cc 100644 --- a/arch/powerpc/include/asm/systbl.h +++ b/arch/powerpc/include/asm/systbl.h | |||
@@ -22,7 +22,7 @@ SYSCALL_SPU(chmod) | |||
22 | SYSCALL_SPU(lchown) | 22 | SYSCALL_SPU(lchown) |
23 | SYSCALL(ni_syscall) | 23 | SYSCALL(ni_syscall) |
24 | OLDSYS(stat) | 24 | OLDSYS(stat) |
25 | SYSX_SPU(sys_lseek,ppc32_lseek,sys_lseek) | 25 | COMPAT_SYS_SPU(lseek) |
26 | SYSCALL_SPU(getpid) | 26 | SYSCALL_SPU(getpid) |
27 | COMPAT_SYS(mount) | 27 | COMPAT_SYS(mount) |
28 | SYSX(sys_ni_syscall,sys_oldumount,sys_oldumount) | 28 | SYSX(sys_ni_syscall,sys_oldumount,sys_oldumount) |
diff --git a/arch/powerpc/kernel/sys_ppc32.c b/arch/powerpc/kernel/sys_ppc32.c index dbc44ba5b078..d0bafc0cdf06 100644 --- a/arch/powerpc/kernel/sys_ppc32.c +++ b/arch/powerpc/kernel/sys_ppc32.c | |||
@@ -146,24 +146,6 @@ asmlinkage long compat_sys_sendfile64_wrapper(u32 out_fd, u32 in_fd, | |||
146 | (off_t __user *)offset, count); | 146 | (off_t __user *)offset, count); |
147 | } | 147 | } |
148 | 148 | ||
149 | off_t ppc32_lseek(unsigned int fd, u32 offset, unsigned int origin) | ||
150 | { | ||
151 | /* sign extend n */ | ||
152 | return sys_lseek(fd, (int)offset, origin); | ||
153 | } | ||
154 | |||
155 | long compat_sys_truncate(const char __user * path, u32 length) | ||
156 | { | ||
157 | /* sign extend length */ | ||
158 | return sys_truncate(path, (int)length); | ||
159 | } | ||
160 | |||
161 | long compat_sys_ftruncate(int fd, u32 length) | ||
162 | { | ||
163 | /* sign extend length */ | ||
164 | return sys_ftruncate(fd, (int)length); | ||
165 | } | ||
166 | |||
167 | unsigned long compat_sys_mmap2(unsigned long addr, size_t len, | 149 | unsigned long compat_sys_mmap2(unsigned long addr, size_t len, |
168 | unsigned long prot, unsigned long flags, | 150 | unsigned long prot, unsigned long flags, |
169 | unsigned long fd, unsigned long pgoff) | 151 | unsigned long fd, unsigned long pgoff) |
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S index c14faf39ae36..3c98c4dc5aca 100644 --- a/arch/s390/kernel/compat_wrapper.S +++ b/arch/s390/kernel/compat_wrapper.S | |||
@@ -67,12 +67,6 @@ ENTRY(sys32_lchown16_wrapper) | |||
67 | llgfr %r4,%r4 # __kernel_old_uid_emu31_t | 67 | llgfr %r4,%r4 # __kernel_old_uid_emu31_t |
68 | jg sys32_lchown16 # branch to system call | 68 | jg sys32_lchown16 # branch to system call |
69 | 69 | ||
70 | ENTRY(sys32_lseek_wrapper) | ||
71 | llgfr %r2,%r2 # unsigned int | ||
72 | lgfr %r3,%r3 # off_t | ||
73 | llgfr %r4,%r4 # unsigned int | ||
74 | jg sys_lseek # branch to system call | ||
75 | |||
76 | #sys32_getpid_wrapper # void | 70 | #sys32_getpid_wrapper # void |
77 | 71 | ||
78 | ENTRY(sys32_mount_wrapper) | 72 | ENTRY(sys32_mount_wrapper) |
@@ -331,16 +325,6 @@ ENTRY(sys32_munmap_wrapper) | |||
331 | llgfr %r3,%r3 # size_t | 325 | llgfr %r3,%r3 # size_t |
332 | jg sys_munmap # branch to system call | 326 | jg sys_munmap # branch to system call |
333 | 327 | ||
334 | ENTRY(sys32_truncate_wrapper) | ||
335 | llgtr %r2,%r2 # const char * | ||
336 | lgfr %r3,%r3 # long | ||
337 | jg sys_truncate # branch to system call | ||
338 | |||
339 | ENTRY(sys32_ftruncate_wrapper) | ||
340 | llgfr %r2,%r2 # unsigned int | ||
341 | llgfr %r3,%r3 # unsigned long | ||
342 | jg sys_ftruncate # branch to system call | ||
343 | |||
344 | ENTRY(sys32_fchmod_wrapper) | 328 | ENTRY(sys32_fchmod_wrapper) |
345 | llgfr %r2,%r2 # unsigned int | 329 | llgfr %r2,%r2 # unsigned int |
346 | llgfr %r3,%r3 # mode_t | 330 | llgfr %r3,%r3 # mode_t |
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index aaac708aa110..630b935d1284 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S | |||
@@ -27,7 +27,7 @@ SYSCALL(sys_chmod,sys_chmod,sys32_chmod_wrapper) /* 15 */ | |||
27 | SYSCALL(sys_lchown16,sys_ni_syscall,sys32_lchown16_wrapper) /* old lchown16 syscall*/ | 27 | SYSCALL(sys_lchown16,sys_ni_syscall,sys32_lchown16_wrapper) /* old lchown16 syscall*/ |
28 | NI_SYSCALL /* old break syscall holder */ | 28 | NI_SYSCALL /* old break syscall holder */ |
29 | NI_SYSCALL /* old stat syscall holder */ | 29 | NI_SYSCALL /* old stat syscall holder */ |
30 | SYSCALL(sys_lseek,sys_lseek,sys32_lseek_wrapper) | 30 | SYSCALL(sys_lseek,sys_lseek,compat_sys_lseek) |
31 | SYSCALL(sys_getpid,sys_getpid,sys_getpid) /* 20 */ | 31 | SYSCALL(sys_getpid,sys_getpid,sys_getpid) /* 20 */ |
32 | SYSCALL(sys_mount,sys_mount,sys32_mount_wrapper) | 32 | SYSCALL(sys_mount,sys_mount,sys32_mount_wrapper) |
33 | SYSCALL(sys_oldumount,sys_oldumount,sys32_oldumount_wrapper) | 33 | SYSCALL(sys_oldumount,sys_oldumount,sys32_oldumount_wrapper) |
@@ -100,8 +100,8 @@ SYSCALL(sys_reboot,sys_reboot,sys32_reboot_wrapper) | |||
100 | SYSCALL(sys_ni_syscall,sys_ni_syscall,old32_readdir_wrapper) /* old readdir syscall */ | 100 | SYSCALL(sys_ni_syscall,sys_ni_syscall,old32_readdir_wrapper) /* old readdir syscall */ |
101 | SYSCALL(sys_old_mmap,sys_old_mmap,old32_mmap_wrapper) /* 90 */ | 101 | SYSCALL(sys_old_mmap,sys_old_mmap,old32_mmap_wrapper) /* 90 */ |
102 | SYSCALL(sys_munmap,sys_munmap,sys32_munmap_wrapper) | 102 | SYSCALL(sys_munmap,sys_munmap,sys32_munmap_wrapper) |
103 | SYSCALL(sys_truncate,sys_truncate,sys32_truncate_wrapper) | 103 | SYSCALL(sys_truncate,sys_truncate,compat_sys_truncate) |
104 | SYSCALL(sys_ftruncate,sys_ftruncate,sys32_ftruncate_wrapper) | 104 | SYSCALL(sys_ftruncate,sys_ftruncate,compat_sys_ftruncate) |
105 | SYSCALL(sys_fchmod,sys_fchmod,sys32_fchmod_wrapper) | 105 | SYSCALL(sys_fchmod,sys_fchmod,sys32_fchmod_wrapper) |
106 | SYSCALL(sys_fchown16,sys_ni_syscall,sys32_fchown16_wrapper) /* 95 old fchown16 syscall*/ | 106 | SYSCALL(sys_fchown16,sys_ni_syscall,sys32_fchown16_wrapper) /* 95 old fchown16 syscall*/ |
107 | SYSCALL(sys_getpriority,sys_getpriority,sys32_getpriority_wrapper) | 107 | SYSCALL(sys_getpriority,sys_getpriority,sys32_getpriority_wrapper) |
diff --git a/arch/sparc/kernel/signal32.c b/arch/sparc/kernel/signal32.c index cd5dc4d411d1..b524f91dd0e5 100644 --- a/arch/sparc/kernel/signal32.c +++ b/arch/sparc/kernel/signal32.c | |||
@@ -726,7 +726,7 @@ static inline void syscall_restart32(unsigned long orig_i0, struct pt_regs *regs | |||
726 | * want to handle. Thus you cannot kill init even with a SIGKILL even by | 726 | * want to handle. Thus you cannot kill init even with a SIGKILL even by |
727 | * mistake. | 727 | * mistake. |
728 | */ | 728 | */ |
729 | void do_signal32(sigset_t *oldset, struct pt_regs * regs) | 729 | void do_signal32(struct pt_regs * regs) |
730 | { | 730 | { |
731 | struct ksignal ksig; | 731 | struct ksignal ksig; |
732 | unsigned long orig_i0 = 0; | 732 | unsigned long orig_i0 = 0; |
diff --git a/arch/sparc/kernel/systbls_64.S b/arch/sparc/kernel/systbls_64.S index 260ddcd412bf..088134834dab 100644 --- a/arch/sparc/kernel/systbls_64.S +++ b/arch/sparc/kernel/systbls_64.S | |||
@@ -21,7 +21,7 @@ sys_call_table32: | |||
21 | /*0*/ .word sys_restart_syscall, sparc_exit, sys_fork, sys_read, sys_write | 21 | /*0*/ .word sys_restart_syscall, sparc_exit, sys_fork, sys_read, sys_write |
22 | /*5*/ .word compat_sys_open, sys_close, compat_sys_wait4, sys_creat, sys_link | 22 | /*5*/ .word compat_sys_open, sys_close, compat_sys_wait4, sys_creat, sys_link |
23 | /*10*/ .word sys_unlink, sunos_execv, sys_chdir, sys_chown16, sys_mknod | 23 | /*10*/ .word sys_unlink, sunos_execv, sys_chdir, sys_chown16, sys_mknod |
24 | /*15*/ .word sys_chmod, sys_lchown16, sys_brk, sys_nis_syscall, sys_lseek | 24 | /*15*/ .word sys_chmod, sys_lchown16, sys_brk, sys_nis_syscall, compat_sys_lseek |
25 | /*20*/ .word sys_getpid, sys_capget, sys_capset, sys_setuid16, sys_getuid16 | 25 | /*20*/ .word sys_getpid, sys_capget, sys_capset, sys_setuid16, sys_getuid16 |
26 | /*25*/ .word sys32_vmsplice, compat_sys_ptrace, sys_alarm, compat_sys_sigaltstack, sys_pause | 26 | /*25*/ .word sys32_vmsplice, compat_sys_ptrace, sys_alarm, compat_sys_sigaltstack, sys_pause |
27 | /*30*/ .word compat_sys_utime, sys_lchown, sys_fchown, sys_access, sys_nice | 27 | /*30*/ .word compat_sys_utime, sys_lchown, sys_fchown, sys_access, sys_nice |
@@ -43,8 +43,8 @@ sys_call_table32: | |||
43 | /*110*/ .word sys_setresgid, sys_getresgid, sys_setregid, sys_nis_syscall, sys_nis_syscall | 43 | /*110*/ .word sys_setresgid, sys_getresgid, sys_setregid, sys_nis_syscall, sys_nis_syscall |
44 | .word sys_getgroups, compat_sys_gettimeofday, sys32_getrusage, sys_nis_syscall, sys_getcwd | 44 | .word sys_getgroups, compat_sys_gettimeofday, sys32_getrusage, sys_nis_syscall, sys_getcwd |
45 | /*120*/ .word compat_sys_readv, compat_sys_writev, compat_sys_settimeofday, sys_fchown16, sys_fchmod | 45 | /*120*/ .word compat_sys_readv, compat_sys_writev, compat_sys_settimeofday, sys_fchown16, sys_fchmod |
46 | .word sys_nis_syscall, sys_setreuid16, sys_setregid16, sys_rename, sys_truncate | 46 | .word sys_nis_syscall, sys_setreuid16, sys_setregid16, sys_rename, compat_sys_truncate |
47 | /*130*/ .word sys_ftruncate, sys_flock, compat_sys_lstat64, sys_nis_syscall, sys_nis_syscall | 47 | /*130*/ .word compat_sys_ftruncate, sys_flock, compat_sys_lstat64, sys_nis_syscall, sys_nis_syscall |
48 | .word sys_nis_syscall, sys_mkdir, sys_rmdir, compat_sys_utimes, compat_sys_stat64 | 48 | .word sys_nis_syscall, sys_mkdir, sys_rmdir, compat_sys_utimes, compat_sys_stat64 |
49 | /*140*/ .word sys_sendfile64, sys_nis_syscall, sys32_futex, sys_gettid, compat_sys_getrlimit | 49 | /*140*/ .word sys_sendfile64, sys_nis_syscall, sys32_futex, sys_gettid, compat_sys_getrlimit |
50 | .word compat_sys_setrlimit, sys_pivot_root, sys_prctl, sys_pciconfig_read, sys_pciconfig_write | 50 | .word compat_sys_setrlimit, sys_pivot_root, sys_prctl, sys_pciconfig_read, sys_pciconfig_write |
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 |