summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/arc4random-fork (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pull in <sys/types.h> to get ssize_t or <stdint.h> to get uint32_t, instead ofmiod2015-10-301-0/+1
| | | | | relying upon previously included headers to do this, to enhance portability; from Pascal Cuoq, libressl github pull request #52
* 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.