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

Issue 431343002: Experimentally isolate OpenItemViaShell in a utility process. (Closed)

Created:
6 years, 4 months ago by erikwright (departed)
Modified:
6 years, 4 months ago
Reviewers:
jschuh, brettw, sky
CC:
chromium-reviews, darin-cc_chromium.org, jam, palmer
Project:
chromium
Visibility:
Public.

Description

Experimentally isolate OpenItemViaShell in a utility process. Shell operations may cause 3rd-party shell extensions to be loaded into the calling process. Isolating them in a utility process protects the browser process from potential instability. BUG=73098 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291128

Patch Set 1 #

Patch Set 2 : Add a comment. #

Total comments: 2

Patch Set 3 : Remove deprecated file. #

Total comments: 2

Patch Set 4 : Run utility process on IO thread. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -6 lines) Patch
M chrome/browser/platform_util_win.cc View 1 2 3 4 chunks +22 lines, -3 lines 0 comments Download
M chrome/common/chrome_utility_messages.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/utility/shell_handler_win.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/utility/shell_handler_win.cc View 1 2 3 3 chunks +7 lines, -0 lines 0 comments Download
M content/browser/utility_process_host_impl.cc View 1 2 3 2 chunks +13 lines, -2 lines 0 comments Download
M content/public/browser/utility_process_host.h View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
erikwright (departed)
sky: PTAL for chrome/ jochen: PTAL for content/ cpalmer: PTAL for chrome_utility_messages.h
6 years, 4 months ago (2014-08-01 19:47:06 UTC) #1
jochen (gone - plz use gerrit)
https://codereview.chromium.org/431343002/diff/20001/chrome/utility/sandboxed_shell_handler_win.cc File chrome/utility/sandboxed_shell_handler_win.cc (right): https://codereview.chromium.org/431343002/diff/20001/chrome/utility/sandboxed_shell_handler_win.cc#newcode1 chrome/utility/sandboxed_shell_handler_win.cc:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 4 months ago (2014-08-04 09:13:41 UTC) #2
erikwright (departed)
palmer: PTAL for chrome_utility_messages.h [-cpalmer, +palmer] https://codereview.chromium.org/431343002/diff/20001/chrome/utility/sandboxed_shell_handler_win.cc File chrome/utility/sandboxed_shell_handler_win.cc (right): https://codereview.chromium.org/431343002/diff/20001/chrome/utility/sandboxed_shell_handler_win.cc#newcode1 chrome/utility/sandboxed_shell_handler_win.cc:1: // Copyright (c) ...
6 years, 4 months ago (2014-08-12 18:34:31 UTC) #3
palmer
https://codereview.chromium.org/431343002/diff/40001/chrome/utility/shell_handler_win.cc File chrome/utility/shell_handler_win.cc (right): https://codereview.chromium.org/431343002/diff/40001/chrome/utility/shell_handler_win.cc#newcode32 chrome/utility/shell_handler_win.cc:32: ui::win::OpenItemViaShell(full_path); Is |full_path| tested for sanity, quoted, or transformed ...
6 years, 4 months ago (2014-08-12 21:23:57 UTC) #4
erikwright (departed)
https://codereview.chromium.org/431343002/diff/40001/chrome/utility/shell_handler_win.cc File chrome/utility/shell_handler_win.cc (right): https://codereview.chromium.org/431343002/diff/40001/chrome/utility/shell_handler_win.cc#newcode32 chrome/utility/shell_handler_win.cc:32: ui::win::OpenItemViaShell(full_path); On 2014/08/12 21:23:57, Chromium Palmer wrote: > Is ...
6 years, 4 months ago (2014-08-13 17:27:13 UTC) #5
erikwright (departed)
jschuh: PTAL. This is similar from a security POV to the other CL you looked ...
6 years, 4 months ago (2014-08-15 17:58:30 UTC) #6
jschuh
Same deal as last time: unsandboxed browser <-> unsandboxed utility. It's weird, but ipc security ...
6 years, 4 months ago (2014-08-15 18:04:10 UTC) #7
erikwright (departed)
brettw: PTAL for content/browser/utility_process_host_impl.cc . This CL makes the IPC client optional, which is useful ...
6 years, 4 months ago (2014-08-15 18:15:49 UTC) #8
erikwright (departed)
sky: PTAL for chrome/browser
6 years, 4 months ago (2014-08-15 18:16:02 UTC) #9
sky
When doing this, do we generally also provide a flag to explicitly turn it off?
6 years, 4 months ago (2014-08-15 19:23:04 UTC) #10
erikwright (departed)
On 2014/08/15 19:23:04, sky wrote: > When doing this, do we generally also provide a ...
6 years, 4 months ago (2014-08-15 19:26:55 UTC) #11
sky
I was thinking of the case of someone getting in the experiment and having it ...
6 years, 4 months ago (2014-08-15 19:31:17 UTC) #12
erikwright (departed)
On 2014/08/15 19:31:17, sky wrote: > I was thinking of the case of someone getting ...
6 years, 4 months ago (2014-08-15 19:43:39 UTC) #13
erikwright (departed)
brettw: ping. Hopefully a very small review for content/browser/utility_process_host_impl.cc and content/public/browser/utility_process_host.h.
6 years, 4 months ago (2014-08-19 19:08:22 UTC) #14
brettw
lgtm
6 years, 4 months ago (2014-08-21 16:45:53 UTC) #15
erikwright (departed)
The CQ bit was checked by erikwright@chromium.org
6 years, 4 months ago (2014-08-21 16:49:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erikwright@chromium.org/431343002/80001
6 years, 4 months ago (2014-08-21 16:51:15 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 17:49:05 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (80001) as 291128

Powered by Google App Engine
This is Rietveld 408576698