Skip to content

Commit 85b494a

Browse files
committed
[Sanitizer] Reenable getusershell interception
and disabling it forAndroid. Reviewers: krytarowski, vitalybuka Reviewed By: krytarowski Differential Revision: https://reviews.llvm.org/D66027 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@368504 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e913868 commit 85b494a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sanitizer_common/sanitizer_platform_interceptors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@
563563
#define SANITIZER_INTERCEPT_GETFSENT (SI_FREEBSD || SI_NETBSD || SI_MAC)
564564
#define SANITIZER_INTERCEPT_ARC4RANDOM (SI_FREEBSD || SI_NETBSD)
565565
#define SANITIZER_INTERCEPT_FDEVNAME SI_FREEBSD
566-
#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_POSIX)
566+
#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_ANDROID)
567567
#define SANITIZER_INTERCEPT_SL_INIT (SI_FREEBSD || SI_NETBSD)
568568

569569
#define SANITIZER_INTERCEPT_GETRANDOM SI_LINUX

0 commit comments

Comments
 (0)