We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2a1c3 commit 850f74fCopy full SHA for 850f74f
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
@@ -599,8 +599,8 @@
599
#define SANITIZER_INTERCEPT_ARGP_PARSE SI_GLIBC
600
#define SANITIZER_INTERCEPT_CPUSET_GETAFFINITY SI_FREEBSD
601
// FIXME: also available from musl 1.2.5
602
-#define SANITIZER_INTERCEPT_PREADV2 SI_GLIBC
603
-#define SANITIZER_INTERCEPT_PWRITEV2 SI_GLIBC
+#define SANITIZER_INTERCEPT_PREADV2 (SI_LINUX && __GLIBC_PREREQ(2, 26))
+#define SANITIZER_INTERCEPT_PWRITEV2 (SI_LINUX && __GLIBC_PREREQ(2, 26))
604
605
// This macro gives a way for downstream users to override the above
606
// interceptor macros irrespective of the platform they are on. They have
0 commit comments