On Sun, Jan 15, 2012 at 10:04:58AM -0500, Rich Felker wrote:
> Your report is wrong. system is REQUIRED by POSIX to change the signal
> disposition for SIGCHLD, not just to block the signal. It should
> change it to SIG_IGN, not SIG_DFL, but for practical purposes these
> are the same or similar.

I didn't notice that anywhere. Could you indicate where this behaviour
is specified exactly ?

> The code you sent the patch for is buggy,
> however, since it uses signal() rather than sigaction() and thus
> cannot correctly restore the signal disposition if it was installed
> with sigaction().

I agree the use of signal() immediately disturbed me, but I didn't read
its implementation. Maybe it does the job. In any case, we could use the
occasion to fix that as well and replace signal() with sigaction() in
the same patch.

-- 
Richard Braun
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to