]> granicus.if.org Git - sudo/commit
Unlike most operating systems, HP-UX select() is not interrupted
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 31 Mar 2010 16:43:26 +0000 (12:43 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 31 Mar 2010 16:43:26 +0000 (12:43 -0400)
commitc3e87c2db373dce439f8f66f0a5d6f2a4249c1e1
tree19c999d02d755edb8dcad267667b3bff54f7c2b4
parent8cde6d699e81f3375e272aad6d420c5ae572547e
Unlike most operating systems, HP-UX select() is not interrupted
by SIGCHLD when the signal is registered with SA_RESTART.  If
we clear SA_RESTART when calling sigaction() for SIGCHLD we get
the expected behavior and the code in the select() loops already
handles EINTR correctly.
src/script.c