Re: Add pselect, ppoll system calls.
From: Benjamin Herrenschmidt
Date: Mon Jun 13 2005 - 18:07:11 EST
On Mon, 2005-06-13 at 08:29 +0100, David Woodhouse wrote:
> On Mon, 2005-06-13 at 17:23 +1000, Benjamin Herrenschmidt wrote:
> > 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.
>
> We don't load it; we pass a pointer to select. It works, but it's hardly
> elegant.
Argh true, blame my own wrapper to select that takes an ulong ..
Who said POSIX was a crap API ? :)
Ben.
-
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/