Searched refs:urandom_fd (Results 1 – 1 of 1) sorted by relevance
28 static int random_fd = -1, urandom_fd = -1; variable37 ASSERT3U(urandom_fd, !=, -1); in random_init()42 VERIFY((urandom_fd = open(URANDOM_PATH, O_RDONLY | O_CLOEXEC)) != -1); in random_init()49 close(urandom_fd); in random_fini()52 urandom_fd = -1; in random_fini()90 return (random_get_bytes_common(ptr, len, urandom_fd)); in random_get_pseudo_bytes()