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

Issue 2517703003: Terminate child process if sandbox::TargetProcess is destroyed. (Closed)

Created:
4 years, 1 month ago by jbauman
Modified:
4 years ago
Reviewers:
Will Harris
CC:
chromium-reviews, wfh+watch_chromium.org, pennymac+watch_chromium.org, rickyz+watch_chromium.org, forshaw
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Terminate child process if sandbox::TargetProcess is destroyed. Leaking the ipc server doesn't work as it has raw pointers to other classes (like the Dispatcher) that will be destroyed. BUG=663019 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Committed: https://crrev.com/14944d76e12f71f7d1a45832b303eafff0a708c7 Cr-Commit-Position: refs/heads/master@{#437093}

Patch Set 1 #

Total comments: 1

Patch Set 2 : change result code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -16 lines) Patch
M sandbox/win/src/target_process.cc View 1 1 chunk +3 lines, -16 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
jbauman
4 years, 1 month ago (2016-11-19 01:16:57 UTC) #5
Will Harris
https://codereview.chromium.org/2517703003/diff/1/sandbox/win/src/target_process.cc File sandbox/win/src/target_process.cc (right): https://codereview.chromium.org/2517703003/diff/1/sandbox/win/src/target_process.cc#newcode76 sandbox/win/src/target_process.cc:76: ::TerminateProcess(sandbox_process_info_.process_handle(), 2); why 2? I think that's RESULT_CODE_HUNG. If ...
4 years ago (2016-11-23 16:44:23 UTC) #8
jbauman
On 2016/11/23 16:44:23, Will Harris wrote: > https://codereview.chromium.org/2517703003/diff/1/sandbox/win/src/target_process.cc > File sandbox/win/src/target_process.cc (right): > > https://codereview.chromium.org/2517703003/diff/1/sandbox/win/src/target_process.cc#newcode76 ...
4 years ago (2016-11-28 22:01:17 UTC) #13
Will Harris
ya DEPS with sandbox is a pain, normally I end up adding a static_assert somewhere ...
4 years ago (2016-12-07 21:08:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2517703003/20001
4 years ago (2016-12-07 21:29:25 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-07 22:35:22 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-07 22:38:11 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/14944d76e12f71f7d1a45832b303eafff0a708c7
Cr-Commit-Position: refs/heads/master@{#437093}

Powered by Google App Engine
This is Rietveld 408576698