[PATCH] D66027: [Sanitizer] reenable geteusershell interception
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 20:36:02 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368504: [Sanitizer] Reenable getusershell interception (authored by devnexen, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D66027?vs=214437&id=214502#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66027/new/
https://reviews.llvm.org/D66027
Files:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h
+++ compiler-rt/trunk/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.214502.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190810/2b361c49/attachment.bin>
More information about the llvm-commits
mailing list