Al Viro 25a3bc6bd1 [parisc] open(2) compat bug
In commit 9d73fc2d641f ("open*(2) compat fixes (s390, arm64)") I said:
>
> 	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.

Three exceptions, actually - parisc open() is another case like that.
Native 32bit won't force O_LARGEFILE, the same binary on parisc64 will.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-03 11:13:09 -08:00
..
2008-03-15 19:12:19 -07:00
2009-01-05 19:18:27 +00:00
2011-03-31 11:26:23 -03:00
2012-05-07 11:38:46 +02:00
2005-04-16 15:20:36 -07:00
2012-07-05 15:09:13 -06:00
2012-08-13 16:50:19 -07:00
2010-10-16 22:43:08 +02:00
2012-03-28 18:30:02 +01:00
2008-10-10 16:32:28 +00:00
2005-04-16 15:20:36 -07:00
2012-12-03 11:13:09 -08:00
2012-03-28 18:30:02 +01:00