MCPcopy Create free account
hub / github.com/F-Stack/f-stack / random_init

Function random_init

freebsd/contrib/openzfs/lib/libzpool/kernel.c:730–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728static int random_fd = -1, urandom_fd = -1;
729
730void
731random_init(void)
732{
733 VERIFY((random_fd = open(random_path, O_RDONLY)) != -1);
734 VERIFY((urandom_fd = open(urandom_path, O_RDONLY)) != -1);
735}
736
737void
738random_fini(void)

Callers 1

kernel_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected