Scott Baker 8d1c2aec21 Use getentropy() for seeding PRNG in Perl_seed()
On libc (*nix) systems we call `getentropy()` to get the seed needed to
start the PRNG. If that call fails, we fall back to reading the
filesystem via `/dev/urandom`. If that fails we fall back to hashing
some state variables instead.

This should be faster, less risky, and generally better than trying to
read from `/dev/urandom`

Foo
2026-01-23 11:03:16 -07:00
..