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

Issue 10827223: Add basic ARM support to the seccomp-bpf sandbox. (Closed)

Created:
8 years, 4 months ago by Jorge Lucangeli Obes
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, agl, jln+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add basic ARM support to the seccomp-bpf sandbox. BUG=141157 TEST=unit tests on daisy. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151007

Patch Set 1 #

Patch Set 2 : Drop whitespace-only change. #

Patch Set 3 : Fix ARM sigcontext_t comment. #

Total comments: 2

Patch Set 4 : ifndef -> if !defined #

Patch Set 5 : Compile unit tests on ARM. #

Patch Set 6 : Make unit tests pass on ARM. #

Total comments: 8

Patch Set 7 : Address jln's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -31 lines) Patch
M sandbox/linux/sandbox_linux.gypi View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.h View 1 2 3 4 5 6 1 chunk +53 lines, -18 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc View 1 2 3 4 5 6 3 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Jorge Lucangeli Obes
Make seccomp-bpf ARM-ready. PTAL
8 years, 4 months ago (2012-08-08 16:29:26 UTC) #1
Markus (顧孟勤)
lgtm https://chromiumcodereview.appspot.com/10827223/diff/5001/sandbox/linux/seccomp-bpf/sandbox_bpf.h File sandbox/linux/seccomp-bpf/sandbox_bpf.h (right): https://chromiumcodereview.appspot.com/10827223/diff/5001/sandbox/linux/seccomp-bpf/sandbox_bpf.h#newcode121 sandbox/linux/seccomp-bpf/sandbox_bpf.h:121: # ifndef EM_ARM Julien pointed out to me, ...
8 years, 4 months ago (2012-08-08 18:35:54 UTC) #2
jln (very slow on Chromium)
On 2012/08/08 18:35:54, Markus (顧孟勤) wrote: > Julien pointed out to me, that our style ...
8 years, 4 months ago (2012-08-08 18:40:34 UTC) #3
Jorge Lucangeli Obes
I added support for compiling the unit test binary on ARM. A single test is ...
8 years, 4 months ago (2012-08-09 01:16:18 UTC) #4
Jorge Lucangeli Obes
PTAL
8 years, 4 months ago (2012-08-09 21:27:42 UTC) #5
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h File sandbox/linux/seccomp-bpf/sandbox_bpf.h (right): https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h#newcode86 sandbox/linux/seccomp-bpf/sandbox_bpf.h:86: It looks as if most of this really shouldn't ...
8 years, 4 months ago (2012-08-09 22:41:23 UTC) #6
Jorge Lucangeli Obes
PTAL, thanks https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h File sandbox/linux/seccomp-bpf/sandbox_bpf.h (right): https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h#newcode118 sandbox/linux/seccomp-bpf/sandbox_bpf.h:118: #define MAX_SYSCALL ((unsigned int)__ARM_NR_BASE + 16u) On ...
8 years, 4 months ago (2012-08-09 22:58:25 UTC) #7
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h File sandbox/linux/seccomp-bpf/sandbox_bpf.h (right): https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h#newcode121 sandbox/linux/seccomp-bpf/sandbox_bpf.h:121: # if !defined(EM_ARM) On 2012/08/09 22:58:26, Jorge Lucangeli Obes ...
8 years, 4 months ago (2012-08-09 23:16:28 UTC) #8
jln (very slow on Chromium)
On 2012/08/09 23:16:28, Julien Tinnes wrote: > https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h > File sandbox/linux/seccomp-bpf/sandbox_bpf.h (right): > > https://chromiumcodereview.appspot.com/10827223/diff/9/sandbox/linux/seccomp-bpf/sandbox_bpf.h#newcode121 ...
8 years, 4 months ago (2012-08-09 23:22:07 UTC) #9
Jorge Lucangeli Obes
On 2012/08/09 23:22:07, Julien Tinnes wrote: > On 2012/08/09 23:16:28, Julien Tinnes wrote: > > ...
8 years, 4 months ago (2012-08-10 06:21:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jorgelo@chromium.org/10827223/5002
8 years, 4 months ago (2012-08-10 06:22:37 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-08-10 08:11:49 UTC) #12
Change committed as 151007

Powered by Google App Engine
This is Rietveld 408576698