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

Unified Diff: content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h

Issue 938223004: Linux sandbox: better APIs with /proc/ arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix invalid proc_fd_ usage. Created 5 years, 10 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
Index: content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h
diff --git a/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h b/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h
index 3650355f46af5e0adcbf1eed721f7ca6981924f2..6761a1a16685a03bbe0d15bdc7f1b5e3952a1e67 100644
--- a/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h
+++ b/content/common/sandbox_linux/sandbox_seccomp_bpf_linux.h
@@ -34,13 +34,13 @@ class SandboxSeccompBPF {
// Start the sandbox and apply the policy for process_type, depending on
// command line switches.
static bool StartSandbox(const std::string& process_type,
- base::ScopedFD proc_task_fd);
+ base::ScopedFD proc_fd);
// This is the API to enable a seccomp-bpf sandbox by using an
// external policy.
static bool StartSandboxWithExternalPolicy(
scoped_ptr<sandbox::bpf_dsl::Policy> policy,
- base::ScopedFD proc_task_fd);
+ base::ScopedFD proc_fd);
// The "baseline" policy can be a useful base to build a sandbox policy.
static scoped_ptr<sandbox::bpf_dsl::Policy> GetBaselinePolicy();
« no previous file with comments | « content/common/sandbox_linux/sandbox_linux.cc ('k') | content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698