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

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: minor fix 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 aae79c1381ed8d8d3b30cd795ec81f969f4e1464..aa2523aa21b9b9cde3a63c94339a88f6edbe5172 100644
--- a/content/common/sandbox_linux/bpf_gpu_policy_linux.h
+++ b/content/common/sandbox_linux/bpf_gpu_policy_linux.h
@@ -13,6 +13,9 @@
namespace sandbox {
class BrokerProcess;
+namespace syscall_broker {
+struct BrokerPermission;
+}
}
namespace content {
@@ -37,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::BrokerPermission>&
+ permissions_extra);
sandbox::BrokerProcess* broker_process() { return broker_process_; }

Powered by Google App Engine
This is Rietveld 408576698