diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-05-11 11:48:17 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-05-12 15:27:13 +0300 |
commit | 9a7a076e8e4ffcfec05e3cafe4c4e31d41ddbaa0 (patch) | |
tree | 0dc154c7e30659384bf4cd40112663edf9dfd659 /arch/x86/entry/syscalls/syscall_32.tbl | |
parent | 685764b108a7e5fe9f5ee213d6a627c1166d7c88 (diff) | |
download | linux-9a7a076e8e4ffcfec05e3cafe4c4e31d41ddbaa0.tar.xz |
x86: Use compat version for preadv2 and pwritev2
Similar to preadv and pwritev, preadv2 and pwritev2 need compat entries
in the 32-bit syscall table.
This bug was found by strace test suite.
Fixes: 4babf2c5efb7 ("x86: wire up preadv2 and pwritev2")
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20160511084817.GA29823@altlinux.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/entry/syscalls/syscall_32.tbl')
-rw-r--r-- | arch/x86/entry/syscalls/syscall_32.tbl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl index b30dd8154cc2..4cddd17153fb 100644 --- a/arch/x86/entry/syscalls/syscall_32.tbl +++ b/arch/x86/entry/syscalls/syscall_32.tbl @@ -384,5 +384,5 @@ 375 i386 membarrier sys_membarrier 376 i386 mlock2 sys_mlock2 377 i386 copy_file_range sys_copy_file_range -378 i386 preadv2 sys_preadv2 -379 i386 pwritev2 sys_pwritev2 +378 i386 preadv2 sys_preadv2 compat_sys_preadv2 +379 i386 pwritev2 sys_pwritev2 compat_sys_pwritev2 |