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

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

Completed in 180 milliseconds