]> git.ipfire.org Git - thirdparty/systemd.git/commit
random-util: assume getrandom(GRND_INSECURE) works
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 Jan 2026 04:24:27 +0000 (13:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 Jan 2026 01:21:04 +0000 (10:21 +0900)
commitec21e5c58ebfc1ea7d76b94f8f6ec50fefe39866
treefede8055cf79e5383a5c10dd145396f0a20ebe05
parent1aeba33d8ffcc4882566881420e1106c9dff61f3
random-util: assume getrandom(GRND_INSECURE) works

GRND_INSECURE was added in kernel 5.6, and our baseline on kernel is
5.10. Let's assume it always works. Even if it does not work, we have
further fallback logics. So, this should be safe.
src/basic/random-util.c