getentropy is an OpenBSD system call that's at the heart of the implementation of arc4random(). getentropy in designed to get contents from /dev/urandom without using a file descriptor and thus negating the potential for EMFILE or a chroot. In this case, it will be a libc wrapper around a more general interface for fetching random and psuedo-random data from the kernel.
Updated by Electric Monk about 7 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 9d12795f87b63c2e39e87bff369182edd34677d3 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2015-04-12T23:04:38.000Z 5830 want arc4random(3C) suite 5802 want getentropy(3C) 5803 want getrandom(2) 5804 want explicit_bzero(3C) 5805 want MC_INHERIT_ZERO 5806 uuid_generate can leak its cache in edge conditions Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Joshua M. Clulow <firstname.lastname@example.org> Reviewed by: Josef 'Jeff' Sipek <email@example.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>