forked from OSchip/llvm-project
![]() Summary: On platforms with `getrandom`, the system call defaults to blocking. This becomes an issue in the very early stage of the boot for Scudo, when the RNG source is not set-up yet: the syscall will block and we'll stall. Introduce a parameter to specify that the function should not block, defaulting to blocking as the underlying syscall does. Update Scudo to use the non-blocking version. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D36399 llvm-svn: 310839 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
scudo_allocator.cpp | ||
scudo_allocator.h | ||
scudo_allocator_combined.h | ||
scudo_allocator_secondary.h | ||
scudo_crc32.cpp | ||
scudo_crc32.h | ||
scudo_flags.cpp | ||
scudo_flags.h | ||
scudo_flags.inc | ||
scudo_interceptors.cpp | ||
scudo_new_delete.cpp | ||
scudo_termination.cpp | ||
scudo_tls.h | ||
scudo_tls_android.cpp | ||
scudo_tls_android.inc | ||
scudo_tls_context_android.inc | ||
scudo_tls_context_linux.inc | ||
scudo_tls_linux.cpp | ||
scudo_tls_linux.inc | ||
scudo_utils.cpp | ||
scudo_utils.h |