[PATCH] D36399: [sanitizers] Add a blocking boolean to GetRandom prototype

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 10:31:10 PDT 2017


cryptoad updated this revision to Diff 110764.
cryptoad added a comment.

Keeping `SANITIZER_USE_GETRANDOM` at the top, protecting the `getrandom`
syscall with an `#if` to keep the compiler happy.


https://reviews.llvm.org/D36399

Files:
  lib/sanitizer_common/sanitizer_common.h
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_mac.cc
  lib/sanitizer_common/sanitizer_win.cc
  lib/sanitizer_common/tests/sanitizer_common_test.cc
  lib/scudo/scudo_utils.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36399.110764.patch
Type: text/x-patch
Size: 5821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170811/6f43ed89/attachment.bin>


More information about the llvm-commits mailing list