[PATCH v9] seedrng: import SeedRNG utility for kernel RNG seed files
Jason A. Donenfeld
Jason at zx2c4.com
Fri Apr 29 12:50:01 UTC 2022
On Wed, Apr 27, 2022 at 6:55 PM Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> 3) Limit the poolsize to 256 bytes (by changing the MAX_SEED_LEN enum
> value to 256 instead of 512).
I implemented this, and
> > if (dfd < 0 || flock(dfd, LOCK_EX) < 0)
> > bb_perror_msg_and_die("can't %s seed directory", "lock");
> >
> > People will repeatedly try to remove this flock(),
> > let's add a comment which explains, in detail, what bad things can happen
> > if it is removed.
>
> Fine with me (if you want to CC me on a patch to review etc).
this, here: <http://lists.busybox.net/pipermail/busybox/2022-April/089640.html>.
Thanks,
Jason
More information about the busybox
mailing list