29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Sat, 16 Apr 2022 10:14:28 +0200
|
|
Subject: Remove mremap from seccomp baseline policy
|
|
|
|
See also:
|
|
* https://bugs.chromium.org/p/chromium/issues/detail?id=1288042
|
|
* https://docs.hexavalent.org/sandboxing/mremap.html
|
|
|
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
|
Change-Id: I34b2660d76f82ee6d39e56d295559f77d373fc57
|
|
---
|
|
sandbox/linux/seccomp-bpf-helpers/baseline_policy_android.cc | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_android.cc b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_android.cc
|
|
--- a/sandbox/linux/seccomp-bpf-helpers/baseline_policy_android.cc
|
|
+++ b/sandbox/linux/seccomp-bpf-helpers/baseline_policy_android.cc
|
|
@@ -162,7 +162,6 @@ ResultExpr BaselinePolicyAndroid::EvaluateSyscall(int sysno) const {
|
|
case __NR_getdents64:
|
|
case __NR_getpriority:
|
|
case __NR_membarrier: // https://crbug.com/966433
|
|
- case __NR_mremap:
|
|
#if defined(__i386__)
|
|
// Used on pre-N to initialize threads in ART.
|
|
case __NR_modify_ldt:
|
|
--
|
|
2.40.1
|
|
|