forked from OSchip/llvm-project
[Sanitizer] Disable getusershell interception for Android
Reviewers: vitalybuka, pcc, eugenis Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D56583 llvm-svn: 350965
This commit is contained in:
parent
fe44363f0d
commit
d0de9890d3
|
@ -548,7 +548,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
|
||||
#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_POSIX)
|
||||
|
||||
#define SANITIZER_INTERCEPT_POPEN SI_POSIX
|
||||
#define SANITIZER_INTERCEPT_POPENVE SI_NETBSD
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// RUN: %clangxx -O0 -g %s -o %t && %run %t 2>&1 | FileCheck %s
|
||||
|
||||
// XFAIL: android
|
||||
// UNSUPPORTED: android
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
|
Loading…
Reference in New Issue