Home
last modified time | relevance | path

Searched refs:urandom_fd (Results 1 – 1 of 1) sorted by relevance

/linux/scripts/gcc-plugins/
H A Dlatent_entropy_plugin.c92 static int urandom_fd = -1; variable
105 if (urandom_fd < 0) { in get_random_const()
106 urandom_fd = open("/dev/urandom", O_RDONLY); in get_random_const()
107 gcc_assert(urandom_fd >= 0); in get_random_const()
110 gcc_assert(read(urandom_fd, rnd_buf, sizeof(rnd_buf)) == sizeof(rnd_buf)); in get_random_const()