Home
last modified time | relevance | path

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

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