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

Unified Diff: sandbox/linux/syscall_broker/broker_client.cc

Issue 721553002: sandbox: Extend BrokerPolicy to support file creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove serialization 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: sandbox/linux/syscall_broker/broker_client.cc
diff --git a/sandbox/linux/syscall_broker/broker_client.cc b/sandbox/linux/syscall_broker/broker_client.cc
index e63205ffae9dd6464d2ee00f0358be477ee72c3d..26ab6ab4692cec1db7b07e8c2a64b6f2e58ee9f2 100644
--- a/sandbox/linux/syscall_broker/broker_client.cc
+++ b/sandbox/linux/syscall_broker/broker_client.cc
@@ -54,7 +54,8 @@ int BrokerClient::PathAndFlagsSyscall(IPCCommand syscall_type,
// IPC.
if (fast_check_in_client_) {
if (syscall_type == COMMAND_OPEN &&
- !broker_policy_.GetFileNameIfAllowedToOpen(pathname, flags, NULL)) {
+ !broker_policy_.GetFileNameIfAllowedToOpen(pathname, flags, NULL,
Jorge Lucangeli Obes 2014/11/20 00:13:20 Given that we have two NULL arguments now, it migh
leecam 2014/11/20 00:56:38 Done.
+ NULL)) {
return -broker_policy_.denied_errno();
}
if (syscall_type == COMMAND_ACCESS &&

Powered by Google App Engine
This is Rietveld 408576698