Messages in this thread | | | Date | Tue, 10 Apr 2007 09:42:07 -0700 | From | "Ulrich Drepper" <> | Subject | Re: If not readdir() then what? |
| |
On 4/10/07, H. Peter Anvin <hpa@zytor.com> wrote: > It rather makes any user space accesses irrelevant. The main question > seems to be if we can realistically increase the cookie size even to 64 > bits.
On 32-bit platforms, *not* using _FILE_OFFSET_BITS=64 is already today a stupid thing to do. There are several places where things simply break in today's world.
Once you do use 53-bit offsets (and we always do this for 64-bit platforms) telldir returns a 64-bit cookie. So, no problem. The one big issue is that there are no error values for telldir. There was no need so far. But a) we can change this or b) we can really go stronger in the direction to deprecate 32-bit ops and force people to update their code. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |