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

/system/core/init/
H A Dinit.cpp268 int urandom_fd = -1; local
286 urandom_fd = TEMP_FAILURE_RETRY(
288 if (urandom_fd == -1) {
304 chunk_size = TEMP_FAILURE_RETRY(write(urandom_fd, buf, chunk_size));
319 if (urandom_fd != -1) {
320 close(urandom_fd);

Completed in 106 milliseconds