diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-25 11:03:23 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-25 11:08:24 +0000 |
| commit | 7bff5712b4cf528b0b00649538545e66cc3a39ee (patch) | |
| tree | 8db40d78619d8bb96520fbd7a3fa2762cde3a4e0 /resources/memtest86plus/patch | |
| parent | a6da25ad0bbbd23d72c0043735af58aa68e59424 (diff) | |
util/libreboot-utils: simplified rand
only use the getrandom syscall on linux,
or arc4random.
the /dev/urandom fallback is removed, and
we use the syscall; failure is almost certainly
unlikely, but if it fails, we abort. this
provides therefore the same guarantee as
bsd arc4random, since it will never return
under fault conditions. it will only ever
return success, or abort.
nobody should be using /dev/urandom in 2026.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/memtest86plus/patch')
0 files changed, 0 insertions, 0 deletions
