]> git.baikalelectronics.ru Git - kernel.git/commit
fs/compat: optional preadv64/pwrite64 compat system calls
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 5 Mar 2014 09:43:51 +0000 (10:43 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 6 Mar 2014 14:35:09 +0000 (15:35 +0100)
commitd23bb9538f299b2e31af24ef08c53cdedbde3c04
treee477b1924739af0585a3b2b6aa8b043a06f7eda0
parent79fa9d1d8119cdd45ece5c79327af59d0fabefb3
fs/compat: optional preadv64/pwrite64 compat system calls

The preadv64/pwrite64 have been implemented for the x32 ABI, in order
to allow passing 64 bit arguments from user space without splitting
them into two 32 bit parameters, like it would be necessary for usual
compat tasks.
Howevert these two system calls are only being used for the x32 ABI,
so add __ARCH_WANT_COMPAT defines for these two compat syscalls and
make these two only visible for x86.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/x86/include/asm/unistd.h
fs/read_write.c
include/linux/compat.h