Re: nbzic blocks needing entropy

Jason Thorpe <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
> On Jun 7, 2023, at 7:59 AM, John Klos <[email protected]> wrote:
> The man page for zic is... well, it's different, but I don't see any functions it'd do that'd need randomness. OTOH, lib/libc/time/zic.c shows randomness is used for creating temp files.
> 
> While people won't usually install a system, then immediately use it to compile without fully setting it up, I wonder if this use of random is a bit superfluous, or if at very least it should use non-blocking random?

It looks **completely** superfluous … especially since “x” is being used in the fopen() call.

-- thorpej
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.