Re: Add pselect, ppoll system calls.

From: Benjamin Herrenschmidt
Date: Mon Jun 13 2005 - 02:27:00 EST



> One pretty simple alternative is to just make the timeout be a global, and
> have the signal handler clear it, guaranteeing that if we're just about to
> hit the select(), we'll exit immediately.

That is still racy ... if the signal hits between loading that global to
to pass it to select and the actual syscall entry ... pretty narrow but
still there.


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