[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190218210712.3503891-2-arnd@arndb.de>
Date: Mon, 18 Feb 2019 22:07:05 +0100
From: Arnd Bergmann <arnd@...db.de>
To: y2038@...ts.linaro.org
Cc: Thomas Gleixner <tglx@...utronix.de>, linux-arch@...r.kernel.org,
linux-api@...r.kernel.org, linux-kernel@...r.kernel.org,
yury.norov@...il.com, linux-arm-kernel@...ts.infradead.org,
linux-hexagon@...r.kernel.org,
uclinux-h8-devel@...ts.sourceforge.jp,
Stafford Horne <shorne@...il.com>,
Vineet Gupta <vgupta@...opsys.com>,
Palmer Dabbelt <palmer@...ive.com>,
Guo Ren <guoren@...nel.org>, Greentime Hu <green.hu@...il.com>,
arnd@...db.de, linux-riscv@...ts.infradead.org,
Guan Xuetao <gxt@....edu.cn>,
Yury Norov <ynorov@...iumnetworks.com>,
Yury Norov <ynorov@...vell.com>
Subject: [PATCH 1/8] compat ABI: use non-compat openat and open_by_handle_at variants
From: Yury Norov <ynorov@...iumnetworks.com>
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@...iumnetworks.com>
Signed-off-by: Yury Norov <ynorov@...vell.com>
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
include/uapi/asm-generic/unistd.h | 5 ++---
1 file 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)
#define __NR_fchown 55
__SYSCALL(__NR_fchown, sys_fchown)
#define __NR_openat 56
-__SC_COMP(__NR_openat, sys_openat, compat_sys_openat)
+__SYSCALL(__NR_openat, sys_openat)
#define __NR_close 57
__SYSCALL(__NR_close, sys_close)
#define __NR_vhangup 58
@@ -678,8 +678,7 @@ __SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
#define __NR_name_to_handle_at 264
__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at)
#define __NR_open_by_handle_at 265
-__SC_COMP(__NR_open_by_handle_at, sys_open_by_handle_at, \
- compat_sys_open_by_handle_at)
+__SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at)
#define __NR_clock_adjtime 266
__SC_3264(__NR_clock_adjtime, sys_clock_adjtime32, sys_clock_adjtime)
#define __NR_syncfs 267
--
2.20.0
Powered by blists - more mailing lists