Searched refs:urandom_fd (Results 1 – 1 of 1) sorted by relevance
38 static int random_fd = -1, urandom_fd = -1; variable47 ASSERT3U(urandom_fd, !=, -1); in random_init()52 VERIFY((urandom_fd = open(URANDOM_PATH, O_RDONLY | O_CLOEXEC)) != -1); in random_init()59 close(urandom_fd); in random_fini()62 urandom_fd = -1; in random_fini()100 return (random_get_bytes_common(ptr, len, urandom_fd)); in random_get_pseudo_bytes()