linux/arch/arm64
Al Viro 9d73fc2d64 open*(2) compat fixes (s390, arm64)
The usual rules for open()/openat()/open_by_handle_at() are
 1) native 32bit - don't force O_LARGEFILE in flags
 2) native 64bit - force O_LARGEFILE in flags
 3) compat on 64bit host - as for native 32bit
 4) native 32bit ABI for 64bit system (mips/n32, x86/x32) - as for
    native 64bit

There are only two exceptions - s390 compat has open() forcing
O_LARGEFILE and arm64 compat has open_by_handle_at() doing the same
thing.  The same binaries on native host (s390/31 and arm resp.) will
*not* force O_LARGEFILE, so IMO both are emulation bugs.

Objections? The fix is obvious...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-02 10:46:38 -08:00
..
boot arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
configs arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
include open*(2) compat fixes (s390, arm64) 2012-12-02 10:46:38 -08:00
kernel arm64: smp: add missing completion for secondary boot 2012-11-08 16:06:21 +00:00
lib arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
mm arm64: mm: fix booting on systems with no memory below 4GB 2012-11-08 16:06:21 +00:00
Kconfig arm64: compat: select CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION 2012-11-08 16:06:20 +00:00
Kconfig.debug arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00