tech-toolchain archive

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

Re: nbzic blocks needing entropy



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



Home | Main Index | Thread Index | Old Index