]> The Tcpdump Group git mirrors - tcpdump/commit
If we get SIGCHLD, restart whatever system call it interrupted.
authorAlexandra Kossovsky <[email protected]>
Sun, 14 Apr 2013 18:57:56 +0000 (11:57 -0700)
committerGuy Harris <[email protected]>
Sun, 14 Apr 2013 18:58:33 +0000 (11:58 -0700)
commita0624450e3a9ce59c8c2f83cbe3d576631370944
treed0f90bf496b4ef99064f1ab3bc3e7e13939684af
parentd54325c0e2c85bbc537869b8fdc43fba7736c174
If we get SIGCHLD, restart whatever system call it interrupted.

When compressing output with -z, we do so by creating a child process to
run gzip and pipe to it, and we catch SIGCHLD to clean up after the
child process.  We don't want the SIGCHLD to show up as an "Interrupted
system call" error, so we specify that SIGCHLD should restart, rather
than interrupting, system calls.
CREDITS
setsignal.c