]> 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:57:56 +0000 (11:57 -0700)
commit02da852383cf2aac72b3ad77e69799a44adb97e8
treea315650b5a4c84ac37e3d48665f5d0c3689aa2dd
parent30ee65f07a55fd4d0dfdf3e344c6c8a443990320
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