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

Issue 1976403002: Fix logic for checking chrome-sandbox setuid binary (Closed)

Created:
4 years, 7 months ago by mdempsky
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Dirk Pranke, jam, jln (very slow on Chromium), Greg K, rickyz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix logic for checking chrome-sandbox setuid binary We only need to check for chrome-sandbox if we plan on launching zygotes with the setuid sandbox or we need it to adjust OOM scores. Also, the error only needs to be fatal when we want the setuid sandbox. BUG=598454 Committed: https://crrev.com/5ba7c75f39ad5e4f6bf67efb9f8d0b84355d4c96 Cr-Commit-Position: refs/heads/master@{#399361}

Patch Set 1 #

Patch Set 2 : style improvements #

Patch Set 3 : fix typo #

Total comments: 2

Patch Set 4 : rickyz feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -183 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 chunks +1 line, -26 lines 0 comments Download
M content/browser/zygote_host/zygote_communication_linux.h View 1 3 chunks +10 lines, -4 lines 0 comments Download
M content/browser/zygote_host/zygote_communication_linux.cc View 1 7 chunks +10 lines, -112 lines 0 comments Download
M content/browser/zygote_host/zygote_host_impl_linux.h View 1 3 chunks +12 lines, -10 lines 0 comments Download
M content/browser/zygote_host/zygote_host_impl_linux.cc View 1 2 3 4 chunks +146 lines, -31 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
mdempsky
rickyz: PTAL. Confirmed that this seems to work for me, and I think the new ...
4 years, 7 months ago (2016-05-13 23:32:45 UTC) #2
Tom (Use chromium acct)
On 2016/05/13 23:32:45, mdempsky wrote: > rickyz: PTAL. Confirmed that this seems to work for ...
4 years, 7 months ago (2016-05-16 16:23:31 UTC) #3
mdempsky
rickyz/jln: ping?
4 years, 7 months ago (2016-05-18 19:12:50 UTC) #4
rickyz (no longer on Chrome)
lgtm This is much nicer, thanks! https://codereview.chromium.org/1976403002/diff/40001/content/browser/zygote_host/zygote_host_impl_linux.cc File content/browser/zygote_host/zygote_host_impl_linux.cc (right): https://codereview.chromium.org/1976403002/diff/40001/content/browser/zygote_host/zygote_host_impl_linux.cc#newcode34 content/browser/zygote_host/zygote_host_impl_linux.cc:34: char buf[expect_len + ...
4 years, 7 months ago (2016-05-20 23:41:44 UTC) #6
mdempsky
https://codereview.chromium.org/1976403002/diff/40001/content/browser/zygote_host/zygote_host_impl_linux.cc File content/browser/zygote_host/zygote_host_impl_linux.cc (right): https://codereview.chromium.org/1976403002/diff/40001/content/browser/zygote_host/zygote_host_impl_linux.cc#newcode34 content/browser/zygote_host/zygote_host_impl_linux.cc:34: char buf[expect_len + 1]; On 2016/05/20 23:41:44, rickyz wrote: ...
4 years, 7 months ago (2016-05-21 00:05:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1976403002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1976403002/60001
4 years, 7 months ago (2016-05-21 00:05:38 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/187815)
4 years, 7 months ago (2016-05-21 00:12:32 UTC) #12
mdempsky
avi: PTAL at content/browser/browser_main_loop.cc for content/OWNERS.
4 years, 7 months ago (2016-05-21 00:15:28 UTC) #15
mdempsky
On 2016/05/21 00:15:28, mdempsky wrote: > avi: PTAL at content/browser/browser_main_loop.cc for content/OWNERS. avi: Ping?
4 years, 6 months ago (2016-06-02 22:20:09 UTC) #16
Avi (use Gerrit)
LGTM stamp. Feel free to ping me after two or three days.
4 years, 6 months ago (2016-06-02 22:31:57 UTC) #17
mdempsky
On 2016/06/02 22:31:57, Avi wrote: > LGTM stamp. Thanks! > Feel free to ping me ...
4 years, 6 months ago (2016-06-02 22:33:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1976403002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1976403002/60001
4 years, 6 months ago (2016-06-02 22:35:52 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/238285)
4 years, 6 months ago (2016-06-02 23:50:40 UTC) #22
Tom (Use chromium acct)
On 2016/06/02 23:50:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-11 00:11:18 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1976403002/60001
4 years, 6 months ago (2016-06-11 02:40:59 UTC) #25
mdempsky
On 2016/06/11 00:11:18, Tom Anderson wrote: > Can we land this? I reran mac_chromium_rel_ng which ...
4 years, 6 months ago (2016-06-11 02:43:31 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-11 03:40:20 UTC) #28
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-11 03:40:23 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-11 03:42:20 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5ba7c75f39ad5e4f6bf67efb9f8d0b84355d4c96
Cr-Commit-Position: refs/heads/master@{#399361}

Powered by Google App Engine
This is Rietveld 408576698