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

Issue 487143003: sandbox: Add Arm64 support for seccomp-BPF (Closed)

Created:
6 years, 4 months ago by leecam
Modified:
6 years, 3 months ago
CC:
chromium-reviews, jln+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

sandbox: Add Arm64 support for seccomp-BPF Adds support for Arm64 to 'sandbox/'. This can be used by future CLs to provide Arm64 policy for Chrome. BUG=355125 TEST=sandbox_linux_unittests Committed: https://crrev.com/e6f6b730e646a11e6f6a3c1c5f54e052aa07584a Cr-Commit-Position: refs/heads/master@{#291631}

Patch Set 1 #

Patch Set 2 : Tidy ucontext #

Patch Set 3 : Remove IsArchitectureArm64 #

Total comments: 21

Patch Set 4 : Codereview fixes #

Total comments: 8

Patch Set 5 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1345 lines, -72 lines) Patch
M build/common.gypi View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M sandbox/linux/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc View 1 2 3 4 4 chunks +13 lines, -2 lines 0 comments Download
M sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc View 1 2 3 3 chunks +19 lines, -16 lines 0 comments Download
M sandbox/linux/seccomp-bpf-helpers/syscall_sets.h View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc View 1 2 3 4 28 chunks +76 lines, -39 lines 0 comments Download
M sandbox/linux/seccomp-bpf/linux_seccomp.h View 1 2 3 3 chunks +51 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc View 1 2 3 4 7 chunks +35 lines, -6 lines 0 comments Download
M sandbox/linux/seccomp-bpf/syscall.cc View 2 chunks +34 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf/syscall_unittest.cc View 1 2 3 4 chunks +8 lines, -3 lines 0 comments Download
A sandbox/linux/services/android_arm64_ucontext.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
M sandbox/linux/services/android_ucontext.h View 1 chunk +2 lines, -0 lines 0 comments Download
A sandbox/linux/services/arm64_linux_syscalls.h View 1 2 3 1 chunk +1062 lines, -0 lines 0 comments Download
M sandbox/linux/services/linux_syscalls.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
leecam
PTAL. Still need to fix __NR_setpriority and __NR_sigaltstack as I'm allowing them in the baseline ...
6 years, 4 months ago (2014-08-21 11:34:48 UTC) #1
jln (very slow on Chromium)
Great work Lee! Please, make it clear in the commit message that this adds support ...
6 years, 4 months ago (2014-08-21 19:04:54 UTC) #2
leecam
https://codereview.chromium.org/487143003/diff/40001/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc File sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc (right): https://codereview.chromium.org/487143003/diff/40001/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc#newcode239 sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc:239: #if !defined(__aarch64__) On 2014/08/21 19:04:53, jln wrote: > I'm ...
6 years, 4 months ago (2014-08-22 10:44:18 UTC) #3
jln (very slow on Chromium)
lgtm with small nits. I only glanced over the asm trampoline in syscall.cc. I think ...
6 years, 4 months ago (2014-08-22 20:11:30 UTC) #4
leecam
https://codereview.chromium.org/487143003/diff/60001/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc File sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc (right): https://codereview.chromium.org/487143003/diff/60001/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc#newcode131 sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc:131: return Allow(); On 2014/08/22 20:11:30, jln wrote: > Nit: ...
6 years, 4 months ago (2014-08-24 22:11:58 UTC) #5
leecam
The CQ bit was checked by leecam@chromium.org
6 years, 4 months ago (2014-08-24 22:13:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leecam@chromium.org/487143003/80001
6 years, 4 months ago (2014-08-24 22:14:16 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-24 23:06:53 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (80001) as 2f4ad7efe924652f9cafa7de0a6eb2e2cdaf075f
6 years, 4 months ago (2014-08-24 23:38:29 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:32:48 UTC) #10
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e6f6b730e646a11e6f6a3c1c5f54e052aa07584a
Cr-Commit-Position: refs/heads/master@{#291631}

Powered by Google App Engine
This is Rietveld 408576698