Skip to content

Commit 22bcf74

Browse files
committed
[compiler-rt] Fix llvm#109834 for Android
1 parent 7bd4f1a commit 22bcf74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,9 +1289,9 @@ INTERCEPTOR(int, prctl, int option, unsigned long arg2, unsigned long arg3,
12891289
static const int PR_SCHED_CORE = 62;
12901290
static const int PR_SCHED_CORE_GET = 0;
12911291
static const int PR_GET_PDEATHSIG = 2;
1292-
static const int PR_SET_SECCOMP = 22;
12931292

12941293
# if !SANITIZER_ANDROID
1294+
static const int PR_SET_SECCOMP = 22;
12951295
static const int SECCOMP_MODE_FILTER = 2;
12961296
# endif
12971297
if (option == PR_SET_VMA && arg2 == 0UL) {

0 commit comments

Comments
 (0)