summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 02:06:50 +0000
committerjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-25 02:06:50 +0000
commitf5204a90ac6d591771de7aa04c50e90438409f68 (patch)
treef344dfce72558ee6ad0699fb577a935ecfa4efee /sandbox
parentf49ac0f68d45d6f57e9dc89fb9fa91b8f3855580 (diff)
downloadchromium_src-f5204a90ac6d591771de7aa04c50e90438409f68.zip
chromium_src-f5204a90ac6d591771de7aa04c50e90438409f68.tar.gz
chromium_src-f5204a90ac6d591771de7aa04c50e90438409f68.tar.bz2
Make seccomp-bpf mandatory on ARM.
Seccomp-bpf used to be optional on non Chrome OS ARM bots, since Ubuntu lacked kernel support. Now that Ubuntu has kernel support, make seccomp-bpf mandatory on ARM. BUG=243478 NOTRY=true Review URL: https://codereview.chromium.org/203493007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259094 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/seccomp-bpf/bpf_tests.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sandbox/linux/seccomp-bpf/bpf_tests.h b/sandbox/linux/seccomp-bpf/bpf_tests.h
index 7095c23..dd30b15 100644
--- a/sandbox/linux/seccomp-bpf/bpf_tests.h
+++ b/sandbox/linux/seccomp-bpf/bpf_tests.h
@@ -89,10 +89,9 @@ class BPFTests : public UnitTests {
arg->test()(arg->aux_);
} else {
printf("This BPF test is not fully running in this configuration!\n");
- // Android, ARM and Valgrind are the three only configurations where we
- // accept not having kernel BPF support.
- // TODO(jln): remote ARM from this list when possible (crbug.com/243478).
- if (!IsAndroid() && !IsRunningOnValgrind() && !IsArchitectureArm()) {
+ // Android and Valgrind are the only configurations where we accept not
+ // having kernel BPF support.
+ if (!IsAndroid() && !IsRunningOnValgrind()) {
const bool seccomp_bpf_is_supported = false;
BPF_ASSERT(seccomp_bpf_is_supported);
}