diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 20:53:06 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-15 20:53:06 +0000 |
| commit | 1f205662a98284b66a664588893c1638bde7bb35 (patch) | |
| tree | f09b92a829607ebcd464c54c1854d3abf22f50b3 /util/sbase/libutil/mkdirp.c | |
| parent | 0855088209c6974705c3c986ca8a5eac54c24c00 (diff) | |
util/nvmutil: re-enable urandom reads
i had to loosen the pledges for the new i/o
framework, which needs more permissions
as a result, i can now open urandom in
this function statically, rather than
in nvmutil's control logic
and because of that, it's less buggy now
arc4random is disabled on linux by default,
because it's not universally available
on all libc, and only since about 2022
in some glibc versions
better for portability to let linux users
justt use urandom
the new logic is different. now it falls
back to rand per-byte, but in practise
it almost never will.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/libutil/mkdirp.c')
0 files changed, 0 insertions, 0 deletions
