diff options
| author | Christopher Ferris <cferris1000@users.noreply.github.com> | 2025-10-06 13:17:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-06 13:17:32 -0700 |
| commit | f64223647e1969253ddc1bd8725bfacfc0456215 (patch) | |
| tree | b603a6a3763bdab4cf7a1192666df777f1b18237 /llvm/lib/ExecutionEngine/Orc/SelfExecutorProcessControl.cpp | |
| parent | 8252b49b41b6778edc24ad9d6501c398a01c0b36 (diff) | |
| download | llvm-f64223647e1969253ddc1bd8725bfacfc0456215.zip llvm-f64223647e1969253ddc1bd8725bfacfc0456215.tar.gz llvm-f64223647e1969253ddc1bd8725bfacfc0456215.tar.bz2 | |
[scudo] Only read urandom if getrandom syscall isn't available. (#161889)
If the getrandom system call is available, but the call returns an
error, it could mean that the system doesn't have enough randomness to
respond yet. Trying to read /dev/urandom will likely block and cause
initialization to be stalled. Therefore, return false in this case and
use the backup random data.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/SelfExecutorProcessControl.cpp')
0 files changed, 0 insertions, 0 deletions
