Skip to content

Commit aee0b76

Browse files
committed
Add a FIXME about the problems closing /dev/urandom
1 parent 065d642 commit aee0b76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rt/rust_util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ inline void isaac_seed(rust_kernel* kernel, uint8_t* dest, size_t size)
154154
amount += (size_t)ret;
155155
} while (amount < size);
156156
int ret = close(fd);
157+
// FIXME #3697: Why does this fail sometimes?
157158
if (ret != 0)
158159
kernel->log(log_warn, "error closing /dev/urandom: %s",
159160
strerror(errno));

0 commit comments

Comments
 (0)