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

Issue 19980003: NaCl: enable a real seccomp-bpf sandbox. (Closed)

Created:
7 years, 5 months ago by jln (very slow on Chromium)
Modified:
7 years, 5 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, native-client-reviews_googlegroups.com, jam, jln+watch_chromium.org
Visibility:
Public.

Description

NaCl: enable a real seccomp-bpf sandbox on x86. This enables a seccomp-bpf sandbox for NaCl on x86_64 and i386. This policy is a little bit less tight than Chromium's renderers policy and should be tightened in the future. BUG=168812 R=mseaborn@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213268

Patch Set 1 : #

Total comments: 13

Patch Set 2 : Address comments. #

Total comments: 12

Patch Set 3 : Address Mark's comments. Disable the sandbox on ARM. #

Total comments: 2

Patch Set 4 : Closing quote. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -14 lines) Patch
M chrome/nacl/OWNERS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/nacl/nacl_sandbox_linux.cc View 1 2 3 3 chunks +95 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jln (very slow on Chromium)
Mark, please take a look! This initial sandbox should work. There is more work to ...
7 years, 5 months ago (2013-07-22 23:17:26 UTC) #1
Mark Seaborn
https://chromiumcodereview.appspot.com/19980003/diff/5001/chrome/nacl/nacl_sandbox_linux.cc File chrome/nacl/nacl_sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/19980003/diff/5001/chrome/nacl/nacl_sandbox_linux.cc#newcode22 chrome/nacl/nacl_sandbox_linux.cc:22: #if defined(__x86_64__) || defined(__arm__) Can you add a comment ...
7 years, 5 months ago (2013-07-22 23:45:24 UTC) #2
jln (very slow on Chromium)
Thanks Mark, PTAL! https://chromiumcodereview.appspot.com/19980003/diff/5001/chrome/nacl/nacl_sandbox_linux.cc File chrome/nacl/nacl_sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/19980003/diff/5001/chrome/nacl/nacl_sandbox_linux.cc#newcode22 chrome/nacl/nacl_sandbox_linux.cc:22: #if defined(__x86_64__) || defined(__arm__) On 2013/07/22 ...
7 years, 5 months ago (2013-07-23 00:18:16 UTC) #3
Mark Seaborn
LGTM https://codereview.chromium.org/19980003/diff/5001/chrome/nacl/nacl_sandbox_linux.cc File chrome/nacl/nacl_sandbox_linux.cc (right): https://codereview.chromium.org/19980003/diff/5001/chrome/nacl/nacl_sandbox_linux.cc#newcode94 chrome/nacl/nacl_sandbox_linux.cc:94: // TODO(jln): look into getting rid of System ...
7 years, 5 months ago (2013-07-23 17:13:03 UTC) #4
jln (very slow on Chromium)
Thanks Mark! Please, take a sanity check look if you don't mind. I'm struggling to ...
7 years, 5 months ago (2013-07-23 18:56:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/19980003/31001
7 years, 5 months ago (2013-07-23 22:37:18 UTC) #6
Mark Seaborn
https://chromiumcodereview.appspot.com/19980003/diff/31001/chrome/nacl/nacl_sandbox_linux.cc File chrome/nacl/nacl_sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/19980003/diff/31001/chrome/nacl/nacl_sandbox_linux.cc#newcode74 chrome/nacl/nacl_sandbox_linux.cc:74: // used by NaCl's GDB debug stub." Remove closing ...
7 years, 5 months ago (2013-07-23 23:02:17 UTC) #7
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/19980003/diff/31001/chrome/nacl/nacl_sandbox_linux.cc File chrome/nacl/nacl_sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/19980003/diff/31001/chrome/nacl/nacl_sandbox_linux.cc#newcode74 chrome/nacl/nacl_sandbox_linux.cc:74: // used by NaCl's GDB debug stub." On 2013/07/23 ...
7 years, 5 months ago (2013-07-23 23:24:24 UTC) #8
jln (very slow on Chromium)
7 years, 5 months ago (2013-07-23 23:37:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r213268 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698