Re: Race conditions in file creation in 2.3.

Steve Dodd (dirk@loth.demon.co.uk)
Sun, 5 Sep 1999 18:30:34 +0100


On Sun, Sep 05, 1999 at 02:53:08PM +0200, Manfred Spraul wrote:

> This is a known problem since ~2.3.7. [neither O_APPEND, nor i_size nor
> f_pos are synchronized]
>
> Unfortunately, it seems difficult to fix it properly:
[snip]

If anyone more knowledgeable than me (which doesn't narrow it down much <g>)
decides to delve into this, I think there's also an issue with updating
writable mmap()d files, probably with setting mtime and inode dirtying as well.

-- 
HOW YOU CAN TELL THAT IT'S GOING TO BE A ROTTEN DAY:
        #15 Your pet rock snaps at you.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/