[PATCH v2] seedrng: import SeedRNG utility for kernel RNG seed files
Jason A. Donenfeld
Jason at zx2c4.com
Sun Apr 10 16:27:22 UTC 2022
Hey again,
On Sun, Apr 10, 2022 at 5:39 PM Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> The reason the fsync(dfd) is there is so that the file is removed from
> the file system after we read the file, but importantly before we
> seed, so that the same seed is never credited twice. Removing
> fsync()ing, like removing flock()ing is highly problematic. I'm not
> going to remove that.
I've got a different way of removing those globals, though, since you
seem to not like them. I'll send a v5.
Jason
More information about the busybox
mailing list