Searched refs:O_CLOEXEC (Results 1 – 2 of 2) sorted by relevance
70 #ifndef O_CLOEXEC71 #define O_CLOEXEC 0 macro80 int fd = open("/dev/urandom", O_RDONLY | O_CLOEXEC); in default_CSPRNG()82 fd = open("/dev/random", O_RDONLY | O_CLOEXEC); in default_CSPRNG()
70 #ifndef O_CLOEXEC71 #define O_CLOEXEC 0 macro82 int fd = open("/dev/urandom", O_RDONLY | O_CLOEXEC); in default_CSPRNG()84 fd = open("/dev/random", O_RDONLY | O_CLOEXEC); in default_CSPRNG()