tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: getrandom and getentropy



On Sun, May 10, 2020 at 10:25:50PM +0000, Taylor R Campbell wrote:
> > Date: Sun, 10 May 2020 22:10:55 +0000
> > From: maya%NetBSD.org@localhost
> > 
> > I still don't find the getrandom man page you provided to be good, it
> > talks about "/dev/random behaviour" which is something you've changed to
> > not have this behaviour.
> 
> Can you be specific?
> 
> The phrase `/dev/random behaviour' does not appear in the man page I
> wrote, but the behaviour of getrandom(..., GRND_RANDOM) and the
> behaviour of reads from /dev/random are exactly the same in Linux
> since getrandom was introduced, and in the patch I proposed, so I'm
> not sure what the issue is.

https://www.netbsd.org/~riastradh/tmp/20200430/getrandom.html
ctrl+f /dev/random
Also for some reason I have a getrandom man page on my installed
machine.


Home | Main Index | Thread Index | Old Index