summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-06-21 12:44:13 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-06-29 08:32:59 +0200
commitbe419a9e4cac9428c432d8d7907778d31c12d409 (patch)
tree455928f0f21ed972bcd111d26f01fddd9e3d42ea /src/irmd
parent64792da0de8724bb85e9e3cf114c452995c24140 (diff)
downloadouroboros-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 'src/irmd')
0 files changed, 0 insertions, 0 deletions