Re: [patch] Fix epoll delayed initialization bug ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 16, 2005 at 04:59:02PM -0700, Roland Dreier wrote:
>     Davide> Al found a potential problem in epoll_create(), where the
>     Davide> file->private_data member was set after fd_install(). This is
>     Davide> obviously wrong since another thread might do a close() on
>     Davide> that fd# before we set the file->private_data member. This
>     Davide> goes over 2.6.13 and passes a few basic tests I've done here.
> 
> Actually, I found the problem after Al pointed out a similar bug in my code ;)

Yup.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux