summaryrefslogtreecommitdiff
path: root/src/misc/getentropy.c
AgeCommit message (Collapse)AuthorFilesLines
2018-02-23add getentropy functionRich Felker1-0/+31
based loosely on patch by Hauke Mehrtens; converted to wrap the public API of the underlying getrandom function rather than direct syscalls, so that if/when a fallback implementation of getrandom is added it will automatically get picked up by getentropy too.