Re: [PATCH]: Don't force O_LARGEFILE for 32 bit processes on ia64 - 2.6.12-rc3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anton Blanchard wrote:
> A 32 bit application should not be using the native open routine. 
> 
> Sounds like you have a 64bit emulator running 32bit applications. The
> other 64bit architectures need to be audited to make sure the
> PER_LINUX32 flag is safe to use here.

Yes, this issue happens when using an emulator to "run" the 32-bit
application.

Yoav's patch leaves it to each architecture to decide how to
identify the emulated case.  ia64 has been using PER_LINUX32
for this.  If other 64-bit architectures ever need to do the
same thing, they can provide their own force_o_largefile()
macro.  Right now, I don't think that any of them need this
because they aren't using emulators for 32-bit.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux