Re: Implementing getrandom/getentropy, anybody?

2019-11-01 Thread Andrew Eggenberger
Hi, Another patch attached. Hopefully this one addresses all the problems. Thanks again. -- Andrew Eggenberger >From 533413ba62d8be167b09f508f23d7130f25688f2 Mon Sep 17 00:00:00 2001 From: Andrew Eggenberger Date: Tue, 29 Oct 2019 23:19:32 -0500 Subject: [PATCH] add getrandom and getentropy im

Re: Implementing getrandom/getentropy, anybody?

2019-11-01 Thread Samuel Thibault
Hello, Andrew Eggenberger, le jeu. 31 oct. 2019 22:55:58 -0500, a ecrit: > I'm not sure if the call to __read_nocancel needs to be tested because > read returns -1 on error anyway. > +/* Write up to LENGTH bytes of randomness starting at BUFFER. > + Return the number of bytes written, or -1 on