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

From: Zach, Yoav
Date: Tue May 10 2005 - 16:51:06 EST




>-----Original Message-----
>From: David S. Miller [mailto:davem@xxxxxxxxxxxxx]
>Sent: Tuesday, May 10, 2005 21:47
>To: anton@xxxxxxxxx
>Cc: yoav_zach@xxxxxxxxx; torvalds@xxxxxxxx;
>linux-kernel@xxxxxxxxxxxxxxx; Zach, Yoav
>Subject: Re: [PATCH]: Don't force O_LARGEFILE for 32 bit
>processes on ia64 - 2.6.12-rc3
>
>
>I really think these "emulators" should execute the compat
>syscalls and not the native 64-bit ones. That is where
>all of these problems come from.
>

Compat syscalls are not accessible to userland. Changing that
will be a major change, with impacts on security and all. I'm
not sure it worth the effort.

>And yes, as Anton stated, you need to audit every platform's
>compat layer to make sure this PER_LINUX32 thing doesn't break
>anything for them.
>

The patch has no impact at all on any arch other than ia64.

Thanks,
Yoav.

-
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/