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

Issue 888903004: Non-SFI mode:Suid sandbox. (Closed)

Created:
5 years, 10 months ago by hidehiko
Modified:
5 years, 9 months ago
CC:
chromium-reviews, rickyz+watch_chromium.org, hamaji, Junichi Uekawa, mazda, satorux1, rickyz (no longer on Chrome), Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Non-SFI mode: Suid sandbox. This CL enables suid sandbox on nacl_helper_nonsfi. BUG=358465 TEST=Ran trybots. Ran Non-SFI NaCl app with nacl_helper_nonsfi. Committed: https://crrev.com/7d7dcec900cc0c148237307a79b9471a6459f2e5 Cr-Commit-Position: refs/heads/master@{#319845}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Rebase. #

Patch Set 3 : Add --disable-namespace-sandbox flag to browser tests temporarily. #

Total comments: 8

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -27 lines) Patch
M chrome/test/nacl/nacl_browsertest_util.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/ppapi/ppapi_test.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_helper_linux.cc View 6 chunks +4 lines, -18 lines 0 comments Download
M components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc View 1 2 3 8 chunks +25 lines, -2 lines 0 comments Download
M components/nacl_nonsfi.gyp View 1 5 chunks +6 lines, -0 lines 0 comments Download
M content/content_nacl_nonsfi.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
A + sandbox/sandbox_nacl_nonsfi.gyp View 1 2 3 3 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 47 (17 generated)
hidehiko
PTAL. I know we still have discussion about the future plan of the sandbox/ implementation ...
5 years, 10 months ago (2015-02-05 15:17:51 UTC) #3
jln (very slow on Chromium)
I didn't look yet, but wanted to add rickyz@. Note that we want to ship ...
5 years, 10 months ago (2015-02-05 18:57:59 UTC) #4
Nick Bray (chromium)
OK, this is a good test case for "expanding the reviewer pool". With multiple people ...
5 years, 10 months ago (2015-02-05 19:39:24 UTC) #5
mdempsky
lgtm Do we need a BUILD.gn for sandbox_nacl_nonsfi? Looks like NaCl is currently gyp-only?
5 years, 10 months ago (2015-02-06 03:48:10 UTC) #6
Nick Bray (chromium)
On 2015/02/06 03:48:10, mdempsky wrote: > lgtm > > Do we need a BUILD.gn for ...
5 years, 10 months ago (2015-02-06 05:35:45 UTC) #7
hidehiko
On 2015/02/06 05:35:45, Nick Bray (chromium) wrote: > On 2015/02/06 03:48:10, mdempsky wrote: > > ...
5 years, 10 months ago (2015-02-06 15:47:42 UTC) #8
jln (very slow on Chromium)
Hidehiko, please proceed if mdempsky@ reviewed it, no need to wait for me!
5 years, 10 months ago (2015-02-06 18:22:34 UTC) #9
Mark Seaborn
LGTM https://chromiumcodereview.appspot.com/888903004/diff/20001/components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc File components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/888903004/diff/20001/components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc#newcode102 components/nacl/loader/sandbox_linux/nacl_sandbox_linux.cc:102: void NaClSandbox::CheckForExpectedNumberOfOpenFds() { Technically, CheckForExpectedNumberOfOpenFds() isn't part of ...
5 years, 10 months ago (2015-02-06 20:15:03 UTC) #10
mdempsky
https://chromiumcodereview.appspot.com/888903004/diff/20001/sandbox/sandbox_nacl_nonsfi.gyp File sandbox/sandbox_nacl_nonsfi.gyp (left): https://chromiumcodereview.appspot.com/888903004/diff/20001/sandbox/sandbox_nacl_nonsfi.gyp#oldcode30 sandbox/sandbox_nacl_nonsfi.gyp:30: # TODO(hidehiko): Add sandbox code. On 2015/02/06 20:15:03, Mark ...
5 years, 10 months ago (2015-02-09 06:12:39 UTC) #11
hidehiko
So, now we are on the same page, I'd like to move forward, and would ...
5 years, 9 months ago (2015-03-02 19:16:25 UTC) #12
hidehiko
Thanks to Ricky, I fixed the browser_tests failures. Mark, PTAL for the changes?
5 years, 9 months ago (2015-03-03 16:34:33 UTC) #14
Mark Seaborn
LGTM https://chromiumcodereview.appspot.com/888903004/diff/60001/chrome/test/nacl/nacl_browsertest_util.cc File chrome/test/nacl/nacl_browsertest_util.cc (right): https://chromiumcodereview.appspot.com/888903004/diff/60001/chrome/test/nacl/nacl_browsertest_util.cc#newcode300 chrome/test/nacl/nacl_browsertest_util.cc:300: // TODO(hidehiko): Remove this flag, when namespace sandbox ...
5 years, 9 months ago (2015-03-04 19:32:50 UTC) #15
hidehiko
Thank you for review, Mark. +jam@, dmichael@. jam@, could you review content/content_nacl_nonsfi.gyp as an OWNER? ...
5 years, 9 months ago (2015-03-05 05:26:53 UTC) #17
dmichael (off chromium)
chrome/test/ppapi lgtm with comment https://codereview.chromium.org/888903004/diff/80001/chrome/test/ppapi/ppapi_browsertest.cc File chrome/test/ppapi/ppapi_browsertest.cc (right): https://codereview.chromium.org/888903004/diff/80001/chrome/test/ppapi/ppapi_browsertest.cc#newcode1354 chrome/test/ppapi/ppapi_browsertest.cc:1354: // by nacl_helper_nonsfi. Do you ...
5 years, 9 months ago (2015-03-05 18:17:01 UTC) #18
jam
On 2015/03/05 05:26:53, hidehiko wrote: > Thank you for review, Mark. > > +jam@, dmichael@. ...
5 years, 9 months ago (2015-03-05 18:30:23 UTC) #19
hidehiko
Thank you for review. Submitting. jam@, as for adding white-list to OWNERS file, please let ...
5 years, 9 months ago (2015-03-06 09:14:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888903004/120001
5 years, 9 months ago (2015-03-06 09:15:57 UTC) #23
hidehiko
FYI: I updated commit message. Now Layer-one sandbox means both suid/namespace sandbox. So, to be ...
5 years, 9 months ago (2015-03-06 09:23:38 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888903004/120001
5 years, 9 months ago (2015-03-06 09:24:48 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_trusty32_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_trusty32_rel/builds/62)
5 years, 9 months ago (2015-03-07 09:10:51 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888903004/120001
5 years, 9 months ago (2015-03-07 15:20:39 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_rel_ng on ...
5 years, 9 months ago (2015-03-07 17:21:21 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888903004/120001
5 years, 9 months ago (2015-03-08 14:56:02 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_trusty32_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_trusty32_rel/builds/70)
5 years, 9 months ago (2015-03-09 11:33:15 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888903004/120001
5 years, 9 months ago (2015-03-09 11:34:19 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_trusty32_rel on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) Timed out ...
5 years, 9 months ago (2015-03-10 06:18:52 UTC) #41
hidehiko
Removed: CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_chromium_trusty32_rel,linux_arm from commit message. Unrelated tests in linux_chromium_trusty32_rel look failing for a while (already ...
5 years, 9 months ago (2015-03-10 06:58:56 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/888903004/120001
5 years, 9 months ago (2015-03-10 06:59:42 UTC) #45
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 9 months ago (2015-03-10 07:00:27 UTC) #46
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 07:00:51 UTC) #47
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7d7dcec900cc0c148237307a79b9471a6459f2e5
Cr-Commit-Position: refs/heads/master@{#319845}

Powered by Google App Engine
This is Rietveld 408576698