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

Issue 701443004: Linux sandbox: change the return type of HandleRequest (Closed)

Created:
6 years, 1 month ago by jln (very slow on Chromium)
Modified:
6 years, 1 month ago
Reviewers:
mdempsky
CC:
chromium-reviews, darin-cc_chromium.org, jam, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Linux sandbox: change the return type of HandleRequest() BrokerHost::HandleRequest() now returns an enum class and never exits on its own. Also move BrokerProcess to the syscall_broker namespace. BUG=429028 Committed: https://crrev.com/d509bc772ac5865661f66c5bfd8076bcbe09dd5e Cr-Commit-Position: refs/heads/master@{#303439}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove stale TODO. #

Patch Set 3 : Fix bug where broker did not exit. Also add exiting unittest. #

Total comments: 2

Patch Set 4 : Add blank line in header file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -38 lines) Patch
M content/common/sandbox_linux/bpf_gpu_policy_linux.h View 3 chunks +6 lines, -2 lines 0 comments Download
M content/common/sandbox_linux/bpf_gpu_policy_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M sandbox/linux/bpf_dsl/bpf_dsl_more_unittest.cc View 3 chunks +10 lines, -7 lines 0 comments Download
M sandbox/linux/syscall_broker/broker_host.h View 1 chunk +3 lines, -1 line 0 comments Download
M sandbox/linux/syscall_broker/broker_host.cc View 1 4 chunks +16 lines, -13 lines 0 comments Download
M sandbox/linux/syscall_broker/broker_process.h View 1 2 3 3 chunks +10 lines, -3 lines 0 comments Download
M sandbox/linux/syscall_broker/broker_process.cc View 1 2 5 chunks +27 lines, -11 lines 0 comments Download
M sandbox/linux/syscall_broker/broker_process_unittest.cc View 1 2 3 chunks +60 lines, -0 lines 0 comments Download
M sandbox/linux/tests/unit_tests.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
jln (very slow on Chromium)
Matthew: could you PTAL at this small CL?
6 years, 1 month ago (2014-11-03 23:59:50 UTC) #2
mdempsky
lgtm https://codereview.chromium.org/701443004/diff/1/sandbox/linux/syscall_broker/broker_host.cc File sandbox/linux/syscall_broker/broker_host.cc (right): https://codereview.chromium.org/701443004/diff/1/sandbox/linux/syscall_broker/broker_host.cc#newcode177 sandbox/linux/syscall_broker/broker_host.cc:177: // TODO(jln): change this. Is this TODONE?
6 years, 1 month ago (2014-11-04 00:03:12 UTC) #3
jln (very slow on Chromium)
https://codereview.chromium.org/701443004/diff/1/sandbox/linux/syscall_broker/broker_host.cc File sandbox/linux/syscall_broker/broker_host.cc (right): https://codereview.chromium.org/701443004/diff/1/sandbox/linux/syscall_broker/broker_host.cc#newcode177 sandbox/linux/syscall_broker/broker_host.cc:177: // TODO(jln): change this. On 2014/11/04 00:03:12, mdempsky wrote: ...
6 years, 1 month ago (2014-11-04 00:12:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701443004/20001
6 years, 1 month ago (2014-11-04 00:14:53 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/76253)
6 years, 1 month ago (2014-11-04 18:27:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701443004/20001
6 years, 1 month ago (2014-11-06 00:49:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/76969)
6 years, 1 month ago (2014-11-06 04:42:06 UTC) #12
jln (very slow on Chromium)
Matthew: would you mind taking a look at PS#3? I fixed a silly bug and ...
6 years, 1 month ago (2014-11-10 08:28:28 UTC) #14
mdempsky
lgtm https://chromiumcodereview.appspot.com/701443004/diff/60001/sandbox/linux/syscall_broker/broker_process.h File sandbox/linux/syscall_broker/broker_process.h (right): https://chromiumcodereview.appspot.com/701443004/diff/60001/sandbox/linux/syscall_broker/broker_process.h#newcode72 sandbox/linux/syscall_broker/broker_process.h:72: // Close the IPC channel with the other ...
6 years, 1 month ago (2014-11-10 08:36:35 UTC) #15
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/701443004/diff/60001/sandbox/linux/syscall_broker/broker_process.h File sandbox/linux/syscall_broker/broker_process.h (right): https://chromiumcodereview.appspot.com/701443004/diff/60001/sandbox/linux/syscall_broker/broker_process.h#newcode72 sandbox/linux/syscall_broker/broker_process.h:72: // Close the IPC channel with the other party. ...
6 years, 1 month ago (2014-11-10 08:55:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701443004/80001
6 years, 1 month ago (2014-11-10 08:57:02 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:80001)
6 years, 1 month ago (2014-11-10 09:59:22 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-10 10:00:07 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d509bc772ac5865661f66c5bfd8076bcbe09dd5e
Cr-Commit-Position: refs/heads/master@{#303439}

Powered by Google App Engine
This is Rietveld 408576698