From ab0bd344d6556634646001f720e9a0b47801a1a4 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Tue, 24 Sep 2024 23:47:42 +0100 Subject: [PATCH] [compiler-rt] Fix #109834 for Android (#109876) --- .../lib/sanitizer_common/sanitizer_common_interceptors.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc index e3a329712ac5a3..b382e7a61950c7 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc @@ -1289,9 +1289,9 @@ INTERCEPTOR(int, prctl, int option, unsigned long arg2, unsigned long arg3, static const int PR_SCHED_CORE = 62; static const int PR_SCHED_CORE_GET = 0; static const int PR_GET_PDEATHSIG = 2; - static const int PR_SET_SECCOMP = 22; # if !SANITIZER_ANDROID + static const int PR_SET_SECCOMP = 22; static const int SECCOMP_MODE_FILTER = 2; # endif if (option == PR_SET_VMA && arg2 == 0UL) {