Skip to content

Commit

Permalink
[compiler-rt] Fix llvm#109834 for Android (llvm#109876)
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Sep 24, 2024
1 parent ce1f01b commit ab0bd34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ab0bd34

Please sign in to comment.