[PATCH] D66027: [Sanitizer] reenable geteusershell interception
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 13:19:46 PDT 2019
devnexen created this revision.
devnexen added a reviewer: krytarowski.
devnexen created this object with visibility "All Users".
Herald added subscribers: llvm-commits, Sanitizers, kubamracek, srhines.
Herald added projects: LLVM, Sanitizers.
and genuinely disabling for Android.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D66027
Files:
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Index: compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -563,7 +563,7 @@
#define SANITIZER_INTERCEPT_GETFSENT (SI_FREEBSD || SI_NETBSD || SI_MAC)
#define SANITIZER_INTERCEPT_ARC4RANDOM (SI_FREEBSD || SI_NETBSD)
#define SANITIZER_INTERCEPT_FDEVNAME SI_FREEBSD
-#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_POSIX)
+#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_ANDROID)
#define SANITIZER_INTERCEPT_SL_INIT (SI_FREEBSD || SI_NETBSD)
#define SANITIZER_INTERCEPT_GETRANDOM SI_LINUX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66027.214437.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190809/74ece6b9/attachment.bin>
More information about the llvm-commits
mailing list