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

Issue 19737002: Enable sandbox in local discovery utility process. (Closed)

Created:
7 years, 5 months ago by Vitaly Buka (NO REVIEWS)
Modified:
7 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Enable sandbox in local discovery utility process. Local discovery in sandbox works only on Windows, linux requires --no-sandbox. BUG=245391 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=212781

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : update for CHROME_MULTIPLE_DLL_BROWSER #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -13 lines) Patch
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/local_discovery/service_discovery_host_client.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/utility/local_discovery/service_discovery_message_handler.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chrome/utility/local_discovery/service_discovery_message_handler.cc View 1 2 3 4 5 6 7 8 9 8 chunks +146 lines, -9 lines 0 comments Download
M content/browser/utility_process_host_impl.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/utility_process_host_impl.cc View 4 chunks +10 lines, -1 line 0 comments Download
M content/public/browser/utility_process_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Vitaly Buka (NO REVIEWS)
7 years, 5 months ago (2013-07-18 06:27:57 UTC) #1
gene
lgtm nit below https://codereview.chromium.org/19737002/diff/1/chrome/utility/local_discovery/service_discovery_message_handler.cc File chrome/utility/local_discovery/service_discovery_message_handler.cc (right): https://codereview.chromium.org/19737002/diff/1/chrome/utility/local_discovery/service_discovery_message_handler.cc#newcode136 chrome/utility/local_discovery/service_discovery_message_handler.cc:136: false; return false?
7 years, 5 months ago (2013-07-18 08:55:28 UTC) #2
Noam Samuel
https://codereview.chromium.org/19737002/diff/1/chrome/browser/local_discovery/service_discovery_host_client.cc File chrome/browser/local_discovery/service_discovery_host_client.cc (right): https://codereview.chromium.org/19737002/diff/1/chrome/browser/local_discovery/service_discovery_host_client.cc#newcode161 chrome/browser/local_discovery/service_discovery_host_client.cc:161: base::Bind(&ServiceDiscoveryHostClient::ShutdownOnIOThread, this)); Is there a potential race condition here ...
7 years, 5 months ago (2013-07-18 16:29:07 UTC) #3
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/19737002/diff/1/chrome/browser/local_discovery/service_discovery_host_client.cc File chrome/browser/local_discovery/service_discovery_host_client.cc (right): https://codereview.chromium.org/19737002/diff/1/chrome/browser/local_discovery/service_discovery_host_client.cc#newcode161 chrome/browser/local_discovery/service_discovery_host_client.cc:161: base::Bind(&ServiceDiscoveryHostClient::ShutdownOnIOThread, this)); On 2013/07/18 16:29:07, Noam Samuel wrote: > ...
7 years, 5 months ago (2013-07-18 18:16:15 UTC) #4
Noam Samuel
lgtm
7 years, 5 months ago (2013-07-18 18:17:53 UTC) #5
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/19737002/diff/1/chrome/utility/local_discovery/service_discovery_message_handler.cc File chrome/utility/local_discovery/service_discovery_message_handler.cc (right): https://codereview.chromium.org/19737002/diff/1/chrome/utility/local_discovery/service_discovery_message_handler.cc#newcode136 chrome/utility/local_discovery/service_discovery_message_handler.cc:136: false; On 2013/07/18 18:16:16, Vitaly Buka wrote: > On ...
7 years, 5 months ago (2013-07-18 18:18:38 UTC) #6
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/19737002/diff/1/chrome/utility/local_discovery/service_discovery_message_handler.cc File chrome/utility/local_discovery/service_discovery_message_handler.cc (right): https://codereview.chromium.org/19737002/diff/1/chrome/utility/local_discovery/service_discovery_message_handler.cc#newcode136 chrome/utility/local_discovery/service_discovery_message_handler.cc:136: false; On 2013/07/18 08:55:28, gene wrote: > return false? ...
7 years, 5 months ago (2013-07-18 18:20:42 UTC) #7
Vitaly Buka (NO REVIEWS)
Justin, would you like to do security review for this patch. Main part is chrome/utility/local_discovery/service_discovery_message_handler.cc
7 years, 5 months ago (2013-07-18 18:47:53 UTC) #8
Vitaly Buka (NO REVIEWS)
+darin for content/ +thestig for chrome/
7 years, 5 months ago (2013-07-18 19:05:48 UTC) #9
Lei Zhang
https://chromiumcodereview.appspot.com/19737002/diff/14001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://chromiumcodereview.appspot.com/19737002/diff/14001/chrome/app/chrome_main_delegate.cc#newcode635 chrome/app/chrome_main_delegate.cc:635: chrome::ChromeContentUtilityClient::PreSandboxStartup(); Do all process types need this, or only ...
7 years, 5 months ago (2013-07-18 19:50:00 UTC) #10
Vitaly Buka (NO REVIEWS)
https://chromiumcodereview.appspot.com/19737002/diff/14001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://chromiumcodereview.appspot.com/19737002/diff/14001/chrome/app/chrome_main_delegate.cc#newcode635 chrome/app/chrome_main_delegate.cc:635: chrome::ChromeContentUtilityClient::PreSandboxStartup(); On 2013/07/18 19:50:01, Lei Zhang wrote: > Do ...
7 years, 5 months ago (2013-07-18 20:42:13 UTC) #11
Lei Zhang
lgtm
7 years, 5 months ago (2013-07-18 20:46:38 UTC) #12
jschuh
So, basically just starting up the network and getting your socket before the sandbox goes ...
7 years, 5 months ago (2013-07-19 17:16:12 UTC) #13
Vitaly Buka (NO REVIEWS)
+creis for content
7 years, 5 months ago (2013-07-19 21:22:53 UTC) #14
Charlie Reis
content/ LGTM, given Justin's approval for the sandbox aspect.
7 years, 5 months ago (2013-07-19 21:34:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/19737002/28001
7 years, 5 months ago (2013-07-19 22:59:23 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-19 23:29:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/19737002/49001
7 years, 5 months ago (2013-07-19 23:48:38 UTC) #18
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-19 23:57:25 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/19737002/38002
7 years, 5 months ago (2013-07-20 00:11:44 UTC) #20
commit-bot: I haz the power
Failed to trigger a try job on linux_clang HTTP Error 400: Bad Request
7 years, 5 months ago (2013-07-20 00:31:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/19737002/56002
7 years, 5 months ago (2013-07-20 00:31:19 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 5 months ago (2013-07-20 01:09:29 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/19737002/32002
7 years, 5 months ago (2013-07-20 07:57:50 UTC) #24
commit-bot: I haz the power
7 years, 5 months ago (2013-07-20 11:51:55 UTC) #25
Message was sent while issue was closed.
Change committed as 212781

Powered by Google App Engine
This is Rietveld 408576698