Re: file offset corruption on 32-bit machines?

From: Lennart Sorensen
Date: Mon Apr 14 2008 - 12:22:19 EST


On Mon, Apr 14, 2008 at 06:20:31PM +0200, Jan Kara wrote:
> Well, as Jiri Kosina wrote, this isn't a problem unless someone finds
> a way how to use this race for some attack (and for example making f_pos
> negative compromises security so it is not so far-fetched as it would
> seem). So proactively fixing this makes some sence.

But you would have to be part of that process to affect the filehandle
wouldn't you? If you are part of the process already wouldn't it be
easier to manipulate things directly rather than playing with the
filehandle position?

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