Re: [PATCH] Drop O_LARGEFILE from F_GETFL for POSIX compliance

From: Andi Kleen
Date: Mon Mar 22 2004 - 02:11:09 EST


On Sun, 21 Mar 2004 23:04:44 -0800
Ulrich Drepper <drepper@xxxxxxxxxx> wrote:

> Andi Kleen wrote:
>
> > No, because O_LARGEFILE is not part of POSIX :-) (they use open64 etc.)
>
> What are you talking about? Neither O_LARGEFILE nor open64 is in POSIX.
> But both are in the LFS extensions.
>
> This whole change seems dubious at best. Who has argued that
> O_LARGEFILE mustn't be returned? I do not agree at all. If the test
> suite checks this the author must defend the position.

I complained to this to the Austin group people at that point
and Andrew Josey told me that the issue has been discussed and the comittee
ruled that the Linux behaviour was not compliant I didn't inquire about the details
(standardeese bores me), ask him himself.

> I suggest to not make any changes. It is perfectly OK to define new O_
> flags and the open() specification does not require that none of them
> must set implicitly.

Just the LSB test suite won't pass then.

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