Files
lbmk/util
Leah Rowe 3a0460607d util/nvmutil: better getrandom safety
err if buf NULL, len -1

also getrandom may return fewer bytes, so
loop that too.

why can't linux be like bsd? bsd is:

arc4random_buf(buf, len);

no checks needed. it never errs.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-03-19 20:01:57 +00:00
..
2025-10-04 09:20:12 +01:00