diff options
author | Yury Norov <ynorov@caviumnetworks.com> | 2018-05-16 04:18:48 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-02-18 10:57:12 -0500 |
commit | 0d0216c03a7a14e121abb2e3eb38e491767c36e8 (patch) | |
tree | d6a0d4a44ffbe026dded2c5efd36427b0018725a | |
parent | 48166e6ea47d23984f0b481ca199250e1ce0730a (diff) |
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: Yury Norov <ynorov@caviumnetworks.com>
Signed-off-by: Yury Norov <ynorov@marvell.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | include/uapi/asm-generic/unistd.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index acf9a07ab2ff..b928eff3bf92 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h | |||
@@ -179,7 +179,7 @@ __SYSCALL(__NR_fchownat, sys_fchownat) | |||
179 | #define __NR_fchown 55 | 179 | #define __NR_fchown 55 |
180 | __SYSCALL(__NR_fchown, sys_fchown) | 180 | __SYSCALL(__NR_fchown, sys_fchown) |
181 | #define __NR_openat 56 | 181 | #define __NR_openat 56 |
182 | __SC_COMP(__NR_openat, sys_openat, compat_sys_openat) | 182 | __SYSCALL(__NR_openat, sys_openat) |
183 | #define __NR_close 57 | 183 | #define __NR_close 57 |
184 | __SYSCALL(__NR_close, sys_close) | 184 | __SYSCALL(__NR_close, sys_close) |
185 | #define __NR_vhangup 58 | 185 | #define __NR_vhangup 58 |
@@ -678,8 +678,7 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark) | |||
678 | #define __NR_name_to_handle_at 264 | 678 | #define __NR_name_to_handle_at 264 |
679 | __SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at) | 679 | __SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at) |
680 | #define __NR_open_by_handle_at 265 | 680 | #define __NR_open_by_handle_at 265 |
681 | __SC_COMP(__NR_open_by_handle_at, sys_open_by_handle_at, \ | 681 | __SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at) |
682 | compat_sys_open_by_handle_at) | ||
683 | #define __NR_clock_adjtime 266 | 682 | #define __NR_clock_adjtime 266 |
684 | __SC_3264(__NR_clock_adjtime, sys_clock_adjtime32, sys_clock_adjtime) | 683 | __SC_3264(__NR_clock_adjtime, sys_clock_adjtime32, sys_clock_adjtime) |
685 | #define __NR_syncfs 267 | 684 | #define __NR_syncfs 267 |