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

/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_gids.c57 static int devrandom = -1; local
59 if (devrandom == -1 &&
60 (devrandom = open("/dev/urandom", O_RDONLY)) == -1) {
64 if (read(devrandom, buf, buflen) == -1)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c974 static int devrandom = -1; local
976 if (devrandom == -1 &&
977 (devrandom = open("/dev/urandom", O_RDONLY)) == -1) {
983 if (read(devrandom, buf, buflen) == -1) {

Completed in 66 milliseconds