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

Unified Diff: components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h

Issue 733303004: Linux sandbox: change API to start the sandbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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: components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h
diff --git a/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h b/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h
index 5bebd2aa9d09d2bde93fc19e2b57be1ab1bb4a4e..51f44ea383d6b2130a4bd0c4d6f1bc6bf5ba7b8f 100644
--- a/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h
+++ b/components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.h
@@ -5,9 +5,11 @@
#ifndef COMPONENTS_NACL_LOADER_SANDBOX_LINUX_NACL_BPF_SANDBOX_LINUX_H_
#define COMPONENTS_NACL_LOADER_SANDBOX_LINUX_NACL_BPF_SANDBOX_LINUX_H_
+#include "base/files/scoped_file.h"
+
namespace nacl {
-bool InitializeBPFSandbox();
+bool InitializeBPFSandbox(base::ScopedFD proc_task_fd);
} // namespace nacl

Powered by Google App Engine
This is Rietveld 408576698