[PATCH] Support: Avoid buffered reads of /dev/urandom

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 03:40:22 PST 2015


On Thu, Nov 26, 2015 at 01:15:44PM +1100, Anton Blanchard via llvm-commits wrote:
> Hi,
> 
> > Would it be best to just use open/read/close instead of
> > fopen/fread/fclose?
> 
> I just realised I forgot to send a reworked version out. How does
> this look?

This likely should also have support for getrandom(2) on newer Linux
systems.

Joerg


More information about the llvm-commits mailing list