[Devel] Re: [PATCH] epoll: Check for fdtable races

Serge E. Hallyn serue at us.ibm.com
Fri Oct 23 20:19:50 PDT 2009


Quoting Oren Laadan (orenl at librato.com):
> 
> 
> Matt Helsley wrote:
> > In case it's possible to race with other tasks sharing the fdtable,
> > check for NULL file * and exit with an error.
> > 
> > Please consider merging this with the first patch in the series
> > of epoll patches posted recently.
> > 
> > Reported-by: "Serge E. Hallyn" <serue at us.ibm.com>
> > Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
> > Cc: "Serge E. Hallyn" <serue at us.ibm.com>
> 
> Already did that when I pulled your patch.
> 
> BTW, I chose -EBUSY instead to tell the user to try again
> later... when he/she isn't malicious anymore :)

"Go stand in the corner and don't come out until you'll
be NICE to your brother!"

-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list