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

From: Jeff Garzik
Date: Mon May 09 2005 - 20:46:58 EST


Yoav Zach wrote:
In ia64 kernel, the O_LARGEFILE flag is forced when
opening a file. This is problematic for execution of
32 bit processes, which are not largefile aware, either
by SW emulation or by HW execution.
For such processes, the problem is two-fold:
1) When trying to open a file that is larger than 4G
the operation should fail, but it's not
2) Writing to offset larger than 4G should fail, but
it's not

O_LARGEFILE works great on my 32-bit platform.

Is this an ABI bug? O_LARGEFILE should be OK for 32-bit processes.

Jeff



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