Skip to content

Commit

Permalink
[Sanitizers] Disable sysmsg interceptors on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
archshift committed Jul 1, 2020
1 parent ddcf063 commit 05d7929
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
#define SANITIZER_INTERCEPT_SENDMSG SI_POSIX
#define SANITIZER_INTERCEPT_RECVMMSG SI_LINUX
#define SANITIZER_INTERCEPT_SENDMMSG SI_LINUX
#define SANITIZER_INTERCEPT_SYSMSG SI_LINUX
#define SANITIZER_INTERCEPT_SYSMSG SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_GETPEERNAME SI_POSIX
#define SANITIZER_INTERCEPT_IOCTL SI_POSIX
#define SANITIZER_INTERCEPT_INET_ATON SI_POSIX
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/sanitizer_common/TestCases/Linux/sysmsg.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang -O1 %s -o %t && %run %t
// UNSUPPORTED: android
#include <assert.h>
#include <errno.h>
#include <stdio.h>
Expand Down

0 comments on commit 05d7929

Please sign in to comment.