Searched hist:"5 a11c7ed" (Results 1 – 1 of 1) sorted by relevance
/openbsd/regress/lib/libc/arc4random-fork/ |
H A D | arc4random-fork.c | 5a11c7ed Wed Jul 09 18:19:40 GMT 2014 matthew <matthew@openbsd.org> Minor cleanups
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier namespace.
KNF nit: return value expressions should be surrounded by parentheses, per style(9).
Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and requires under XSI) that terminated child processes not leave zombies if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave SIGCHLD set to SIG_IGN.
|