Commit 0d0216c0 authored by Yury Norov's avatar Yury Norov Committed by Arnd Bergmann

compat ABI: use non-compat openat and open_by_handle_at variants

The only difference between native and compat openat and open_by_handle_at
is that non-compat version forces O_LARGEFILE, and it should be the
default behaviour for all architectures, as we are going to drop the
support of 32-bit userspace off_t.
Signed-off-by: default avatarYury Norov <ynorov@caviumnetworks.com>
Signed-off-by: default avatarYury Norov <ynorov@marvell.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 48166e6e
...@@ -179,7 +179,7 @@ __SYSCALL(__NR_fchownat, sys_fchownat) ...@@ -179,7 +179,7 @@ __SYSCALL(__NR_fchownat, sys_fchownat)
#define __NR_fchown 55 #define __NR_fchown 55
__SYSCALL(__NR_fchown, sys_fchown) __SYSCALL(__NR_fchown, sys_fchown)
#define __NR_openat 56 #define __NR_openat 56
__SC_COMP(__NR_openat, sys_openat, compat_sys_openat) __SYSCALL(__NR_openat, sys_openat)
#define __NR_close 57 #define __NR_close 57
__SYSCALL(__NR_close, sys_close) __SYSCALL(__NR_close, sys_close)
#define __NR_vhangup 58 #define __NR_vhangup 58
...@@ -678,8 +678,7 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark) ...@@ -678,8 +678,7 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
#define __NR_name_to_handle_at 264 #define __NR_name_to_handle_at 264
__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at) __SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at)
#define __NR_open_by_handle_at 265 #define __NR_open_by_handle_at 265
__SC_COMP(__NR_open_by_handle_at, sys_open_by_handle_at, \ __SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at)
compat_sys_open_by_handle_at)
#define __NR_clock_adjtime 266 #define __NR_clock_adjtime 266
__SC_3264(__NR_clock_adjtime, sys_clock_adjtime32, sys_clock_adjtime) __SC_3264(__NR_clock_adjtime, sys_clock_adjtime32, sys_clock_adjtime)
#define __NR_syncfs 267 #define __NR_syncfs 267
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment