Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1849)

Unified Diff: content/common/sandbox_seccomp_bpf_linux.cc

Issue 11073003: Allow mremap() for the Seccomp-BPF sandbox in renderers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Allow mremap() only in renderers. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_seccomp_bpf_linux.cc
diff --git a/content/common/sandbox_seccomp_bpf_linux.cc b/content/common/sandbox_seccomp_bpf_linux.cc
index a2e7569719ae544c0b6e4fcb7e0a25edf53e4a2a..b622631e25f50fe26cbc8e78da0933662eb8e786 100644
--- a/content/common/sandbox_seccomp_bpf_linux.cc
+++ b/content/common/sandbox_seccomp_bpf_linux.cc
@@ -1248,6 +1248,7 @@ ErrorCode RendererOrWorkerProcessPolicy_x86_64(int sysno) {
#if defined(__i386__) || defined(__x86_64__)
case __NR_getrlimit:
#endif
+ case __NR_mremap: // See crbug.com/149834.
case __NR_pread64:
case __NR_pwrite64:
case __NR_sched_get_priority_max:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698