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

Issue 7054080: Add a flag to print the handles held by a child process when it shuts down. (Closed)

Created:
9 years, 6 months ago by Cris Neckar
Modified:
9 years, 6 months ago
Reviewers:
cpu_(ooo_6.6-7.5), jam
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, brettw-cc_chromium.org
Visibility:
Public.

Description

Add a flag to print the handles held by a child process when it shuts down. This will allow us to make tests that audit for extra handles and permissions being added to sandboxed processes. BUG=85212 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88602

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Total comments: 20

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 6

Patch Set 8 : '' #

Total comments: 6

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+632 lines, -2 lines) Patch
M content/browser/child_process_launcher.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -0 lines 0 comments Download
A content/browser/handle_enumerator_win.h View 1 2 3 4 5 6 7 1 chunk +78 lines, -0 lines 0 comments Download
A content/browser/handle_enumerator_win.cc View 1 2 3 4 5 6 7 1 chunk +484 lines, -0 lines 0 comments Download
M content/common/content_switches.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M content/common/content_switches.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/tools/finder/ntundoc.h View 1 2 3 4 5 6 7 3 chunks +37 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/7054080/diff/13002/content/browser/handle_enumerator_win.h File content/browser/handle_enumerator_win.h (right): http://codereview.chromium.org/7054080/diff/13002/content/browser/handle_enumerator_win.h#newcode17 content/browser/handle_enumerator_win.h:17: we should use either src/sandbox/tools/finder/ntundoc.h or <winternl.h>, feel free ...
9 years, 6 months ago (2011-06-07 21:18:00 UTC) #1
Cris Neckar
http://codereview.chromium.org/7054080/diff/13002/content/browser/handle_enumerator_win.h File content/browser/handle_enumerator_win.h (right): http://codereview.chromium.org/7054080/diff/13002/content/browser/handle_enumerator_win.h#newcode17 content/browser/handle_enumerator_win.h:17: On 2011/06/07 21:18:00, cpu wrote: > we should use ...
9 years, 6 months ago (2011-06-07 22:10:09 UTC) #2
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/7054080/diff/10003/content/browser/handle_enumerator_win.cc File content/browser/handle_enumerator_win.cc (right): http://codereview.chromium.org/7054080/diff/10003/content/browser/handle_enumerator_win.cc#newcode48 content/browser/handle_enumerator_win.cc:48: leaking handle_info ? http://codereview.chromium.org/7054080/diff/10003/content/browser/handle_enumerator_win.cc#newcode162 content/browser/handle_enumerator_win.cc:162: string16 HandleEnumerator::ProcessTypeString( it seems ...
9 years, 6 months ago (2011-06-08 02:23:28 UTC) #3
Cris Neckar
http://codereview.chromium.org/7054080/diff/10003/content/browser/handle_enumerator_win.cc File content/browser/handle_enumerator_win.cc (right): http://codereview.chromium.org/7054080/diff/10003/content/browser/handle_enumerator_win.cc#newcode48 content/browser/handle_enumerator_win.cc:48: On 2011/06/08 02:23:28, cpu wrote: > leaking handle_info ? ...
9 years, 6 months ago (2011-06-08 18:39:21 UTC) #4
Cris Neckar
I split this into 2 flags to make it easier to see the important stuff. ...
9 years, 6 months ago (2011-06-08 19:21:54 UTC) #5
cpu_(ooo_6.6-7.5)
lgtm http://codereview.chromium.org/7054080/diff/10006/sandbox/tools/finder/ntundoc.h File sandbox/tools/finder/ntundoc.h (right): http://codereview.chromium.org/7054080/diff/10006/sandbox/tools/finder/ntundoc.h#newcode2 sandbox/tools/finder/ntundoc.h:2: // Use of this source code is governed ...
9 years, 6 months ago (2011-06-08 21:16:02 UTC) #6
jam
http://codereview.chromium.org/7054080/diff/10006/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (right): http://codereview.chromium.org/7054080/diff/10006/content/browser/child_process_launcher.cc#newcode23 content/browser/child_process_launcher.cc:23: #include "chrome/common/chrome_switches.h" nit: don't add this to chrome_switches if ...
9 years, 6 months ago (2011-06-08 22:06:38 UTC) #7
Cris Neckar
http://codereview.chromium.org/7054080/diff/10006/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (right): http://codereview.chromium.org/7054080/diff/10006/content/browser/child_process_launcher.cc#newcode23 content/browser/child_process_launcher.cc:23: #include "chrome/common/chrome_switches.h" On 2011/06/08 22:06:38, John Abd-El-Malek wrote: > ...
9 years, 6 months ago (2011-06-09 18:20:13 UTC) #8
jam
http://codereview.chromium.org/7054080/diff/17003/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (right): http://codereview.chromium.org/7054080/diff/17003/content/browser/child_process_launcher.cc#newcode24 content/browser/child_process_launcher.cc:24: #include "chrome/common/chrome_switches.h" this isn't needed http://codereview.chromium.org/7054080/diff/17003/content/common/content_switches.cc File content/common/content_switches.cc (right): ...
9 years, 6 months ago (2011-06-09 21:44:29 UTC) #9
Cris Neckar
http://codereview.chromium.org/7054080/diff/17003/content/browser/child_process_launcher.cc File content/browser/child_process_launcher.cc (right): http://codereview.chromium.org/7054080/diff/17003/content/browser/child_process_launcher.cc#newcode24 content/browser/child_process_launcher.cc:24: #include "chrome/common/chrome_switches.h" On 2011/06/09 21:44:29, John Abd-El-Malek wrote: > ...
9 years, 6 months ago (2011-06-09 22:17:16 UTC) #10
jam
9 years, 6 months ago (2011-06-09 22:23:47 UTC) #11
lgtm

Powered by Google App Engine
This is Rietveld 408576698