diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-19 19:55:27 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:42 +0000 |
| commit | f7072fc4c0f983828266fc2fb34a7ecec66b018d (patch) | |
| tree | 7cff0579da459545ca4f7c376a9f243f883927d7 /README.md | |
| parent | 49413b7d6b561784afd81964b278fd8cce2d92df (diff) | |
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>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
