diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-06-21 12:44:13 +0200 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-06-29 08:32:59 +0200 |
| commit | be419a9e4cac9428c432d8d7907778d31c12d409 (patch) | |
| tree | 455928f0f21ed972bcd111d26f01fddd9e3d42ea /cmake/compiler.cmake | |
| parent | 64792da0de8724bb85e9e3cf114c452995c24140 (diff) | |
| download | ouroboros-be419a9e4cac9428c432d8d7907778d31c12d409.tar.gz ouroboros-be419a9e4cac9428c432d8d7907778d31c12d409.zip | |
lib: Loop getrandom on short reads and EINTR
The getrandom() function may return fewer bytes than requested or fail
with EINTR. Loop until the buffer is filled, retrying on EINTR,
instead of trusting a single call to fill the buffer completely.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'cmake/compiler.cmake')
0 files changed, 0 insertions, 0 deletions
