Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Critical PRNG Bug in NetBSD Kernel. Parent comment
Fix a security issue: when we are reseeding a PRNG seeded early in boot before we had ever had any entropy, if something else has consumed the entropy that triggered the immediate reseed, we can reseed with as little as sizeof(int) bytes of entropy.
rnd_extract_data(key + r, sizeof(key - r), RND_EXTRACT_ANY);