[PATCH] D54837: [Sanitizer] getentropy interception

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 22 12:06:23 PST 2018


devnexen created this revision.
devnexen added a reviewer: vitalybuka.
devnexen created this object with visibility "All Users".
Herald added subscribers: Sanitizers, llvm-commits, fedor.sergeev, krytarowski, mgorny, kubamracek, emaste.

- getentropy "wrapper" upon getrandom appeared early last year on Linux and end of this year on FreeBSD.
- The internal caller already handle limit boundaries checking so no need to hand make EIO errno.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D54837

Files:
  cmake/config-ix.cmake
  lib/sanitizer_common/sanitizer_common_interceptors.inc
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_linux.h
  lib/sanitizer_common/sanitizer_platform_interceptors.h
  test/sanitizer_common/TestCases/Posix/getentropy.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54837.175067.patch
Type: text/x-patch
Size: 5133 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181122/9e0ecf45/attachment.bin>


More information about the llvm-commits mailing list