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
..
2012-09-17 13:42:20 +01:00
2012-09-17 10:24:44 +01:00
2012-09-17 10:24:44 +01:00
2012-09-17 13:42:02 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:18 +01:00
2012-09-17 13:42:00 +01:00
2012-09-17 13:42:00 +01:00
2012-09-17 13:42:00 +01:00
2012-09-17 13:42:21 +01:00
2012-10-06 03:05:16 +09:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:41:59 +01:00
2012-09-17 13:41:59 +01:00
2012-09-17 13:42:14 +01:00
2012-09-17 13:42:04 +01:00
2012-09-17 13:42:05 +01:00
2012-11-08 16:06:20 +00:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:42:04 +01:00
2012-11-08 16:06:20 +00:00
2012-09-17 13:42:02 +01:00
2012-09-17 13:42:06 +01:00
2012-09-17 13:42:14 +01:00
2012-10-11 11:05:13 +01:00
2012-11-16 15:50:25 +00:00
2012-09-17 13:42:02 +01:00
2012-09-17 13:42:02 +01:00
2012-10-20 11:12:01 +01:00
2012-10-20 11:12:01 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:58 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:42:19 +01:00
2012-09-17 13:41:57 +01:00
2012-09-17 13:42:17 +01:00
2012-09-17 13:41:57 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:41:56 +01:00
2012-11-16 15:50:25 +00:00
2012-11-16 15:50:25 +00:00
2012-09-17 13:42:17 +01:00
2012-09-17 13:41:59 +01:00
2012-11-08 16:06:21 +00:00
2012-09-17 13:42:21 +01:00
2012-10-11 11:05:13 +01:00
2012-09-17 13:42:07 +01:00
2012-10-11 11:05:13 +01:00
2012-09-17 13:42:12 +01:00
2012-09-17 13:42:06 +01:00
2012-09-17 13:41:56 +01:00
2012-09-17 13:42:06 +01:00
2012-09-17 13:42:06 +01:00
2012-09-17 10:24:46 +01:00
2012-10-11 11:05:13 +01:00
2012-09-17 13:42:18 +01:00
2012-09-17 13:42:08 +01:00
2012-09-17 13:42:21 +01:00
2012-09-17 13:41:58 +01:00
2012-09-17 13:42:20 +01:00
2012-09-17 13:42:01 +01:00
2012-09-17 13:42:01 +01:00
2012-09-17 10:24:46 +01:00
2012-09-17 13:42:11 +01:00
2012-09-17 13:42:10 +01:00
2012-12-02 10:46:38 -08:00
2012-11-08 16:06:20 +00:00
2012-09-17 13:42:09 +01:00
2012-09-17 13:42:09 +01:00