[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small test example for: cannot create /dev/null: Interrupted system
From: |
Roland McGrath |
Subject: |
Re: Small test example for: cannot create /dev/null: Interrupted system call |
Date: |
Thu, 10 Jul 2014 14:35:21 -0700 (PDT) |
> 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.