> On Thu, Jul 10, 2014 at 02:21:06PM -0700, Roland McGrath wrote: > > Is the SIGCHLD set with SA_RESTART? > > >From what I see, no.
Then potentially getting EINTR from lots of calls is what's expected. The program should be fixed to use SA_RESTART if it is not expecting to handle EINTR from nearly any nontrivial library call.