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

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

Issue 721553002: sandbox: Extend BrokerPolicy to support file creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding comments 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: content/common/sandbox_linux/bpf_gpu_policy_linux.h
diff --git a/content/common/sandbox_linux/bpf_gpu_policy_linux.h b/content/common/sandbox_linux/bpf_gpu_policy_linux.h
index 3b60ffe66fbe16021c3a871f2888e941127ec7e7..986f65cc7fc1d6fed368ba18a028619c21394c8c 100644
--- a/content/common/sandbox_linux/bpf_gpu_policy_linux.h
+++ b/content/common/sandbox_linux/bpf_gpu_policy_linux.h
@@ -14,6 +14,7 @@
namespace sandbox {
namespace syscall_broker {
class BrokerProcess;
+class BrokerFilePermission;
mdempsky 2014/11/18 22:23:41 nit: Sort.
}
}
@@ -39,8 +40,8 @@ class GpuProcessPolicy : public SandboxBPFBasePolicy {
// the basic ones.
void InitGpuBrokerProcess(
sandbox::bpf_dsl::Policy* (*broker_sandboxer_allocator)(void),
- const std::vector<std::string>& read_whitelist_extra,
- const std::vector<std::string>& write_whitelist_extra);
+ const std::vector<sandbox::syscall_broker::BrokerFilePermission>&
+ permissions_extra);
sandbox::syscall_broker::BrokerProcess* broker_process() {
return broker_process_;

Powered by Google App Engine
This is Rietveld 408576698