Searched refs:fork_data (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | arc4random_fork.c | 37 arc4_fork_t *fork_data; variable 49 fork_data = (arc4_fork_t *)mmap(NULL, sizeof (arc4_fork_t), 51 assert(fork_data != MAP_FAILED); 56 fork_data->af_child = arc4random(); 57 arc4random_buf(fork_data->af_cbuf, sizeof (fork_data->af_cbuf)); 61 fork_data->af_parent = arc4random(); 62 arc4random_buf(fork_data->af_pbuf, sizeof (fork_data->af_pbuf)); 69 assert(fork_data [all...] |
H A D | arc4random_forkall.c | 37 arc4_fork_t *fork_data; variable 49 fork_data = (arc4_fork_t *)mmap(NULL, sizeof (arc4_fork_t), 51 assert(fork_data != MAP_FAILED); 56 fork_data->af_child = arc4random(); 57 arc4random_buf(fork_data->af_cbuf, sizeof (fork_data->af_cbuf)); 61 fork_data->af_parent = arc4random(); 62 arc4random_buf(fork_data->af_pbuf, sizeof (fork_data->af_pbuf)); 69 assert(fork_data [all...] |
H A D | arc4random_forksig.c | 39 arc4_fork_t *fork_data; variable 68 fork_data = (arc4_fork_t *)mmap(NULL, sizeof (arc4_fork_t), 70 assert(fork_data != MAP_FAILED); 76 fork_data->af_child = arc4random(); 77 arc4random_buf(fork_data->af_cbuf, sizeof (fork_data->af_cbuf)); 81 fork_data->af_parent = arc4random(); 82 arc4random_buf(fork_data->af_pbuf, sizeof (fork_data->af_pbuf)); 89 assert(fork_data [all...] |
Completed in 76 milliseconds