Re: nbzic blocks needing entropy
RVP <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 7 Jun 2023, John Klos wrote: > I'm just thinking that a program which uses randomness to name temp files > shouldn't care about the quality of randomness, unless knowing the names > would lead to a security issue (in which case there are bigger problems). > Add a `-DHAVE_GETRANDOM=0' to src/tools/zic/Makefile (and maybe also src/usr.sbin/zic/Makefile)? Then zic will use srand()/rand(). Right now, it uses getrandom(). -RVP