Re: file offset corruption on 32-bit machines?

From: Lennart Sorensen
Date: Tue Apr 15 2008 - 11:32:32 EST


On Tue, Apr 15, 2008 at 10:57:41AM +0200, Pavel Machek wrote:
> Not if you tried to do checking from ptrace monitor.
>
> And heck, yes, it is very confusing to see
>
> seek(somewhere)
> write()
>
> ond ptrace and write going somewhere else.

Yes bugs are confusing. An application can't do this on demand so you
can't write code that relies on the effect between threads. So it would
only be a bug, not a bizare feature (that wouldn't even work on 64bit
machines).

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