summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/arc4random-fork (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove non-portable __progname extern from arc4random unit test.bcook2014-07-281-2/+1
| | | | ok @deraadt
* Minor cleanupsmatthew2014-07-091-5/+12
| | | | | | | | | | | | | 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.
* check for EINTR when calling waitpid.bcook2014-07-091-2/+13
| | | | ok jsing@
* Add regress tests to make sure arc4random(3) is reinitializedmatthew2014-06-182-0/+178
correctly in fork children.