Re: Add pselect, ppoll system calls.

From: Alan Cox
Date: Mon Jun 13 2005 - 06:19:31 EST


On Llu, 2005-06-13 at 01:26, Linus Torvalds wrote:
> On Sun, 12 Jun 2005, Alan Cox wrote:
> >
> > If glibc has a race why not just fix glibc ?
>
> .. because glibc tries to implement the "pselect()" interfaces that some
> other OS's implement.
>
> Whether that is a good idea or not (it's not) is a different issue, but
> basically it means that apps don't use the longjmp trick exactly because
> they think pselect() works ok.

Right but why can't glibc be fixed to use the longjmp trick internally.
That way pselect works properly for all applications as soon as the
glibc bug fix is
applied and the vendor/distro/whatever pushes a new glibc package ?

Alan

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