summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authornedeljko.babic@imgtec.com <nedeljko.babic@imgtec.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 09:03:43 +0000
committernedeljko.babic@imgtec.com <nedeljko.babic@imgtec.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-25 09:03:43 +0000
commit7281a3fb8d40c078afb319ca4afd80839fac3657 (patch)
treec06635490d6613d0a6a8f8f286a81afcd960463a /build
parent9522fad406dd161400daa518075828e47bd47f60 (diff)
downloadchromium_src-7281a3fb8d40c078afb319ca4afd80839fac3657.zip
chromium_src-7281a3fb8d40c078afb319ca4afd80839fac3657.tar.gz
chromium_src-7281a3fb8d40c078afb319ca4afd80839fac3657.tar.bz2
[MIPS] Add seccomp bpf support
Add support for seccomp bpf sandboxing on MIPS architecture. Enable testing of seccomp bpf sandbox. Support for seccomp bpf for MIPS was added in Linux kernel version 3.15. This patchset was reviewed in https://chromiumcodereview.appspot.com/260793003/ and re-created to workaround a commit-queue issue. BUG=369594 TEST=sandbox_linux_unittests Review URL: https://codereview.chromium.org/409403003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index d0cbeec..52e610d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2262,13 +2262,13 @@
'chromium_win_pch': 0,
}],
- # The seccomp-bpf sandbox is only supported on three architectures
+ # The seccomp-bpf sandbox is only supported on four architectures
# currently.
# Do not disable seccomp_bpf anywhere without talking to
# security@chromium.org!
['((OS=="linux" or OS=="android") and '
'(target_arch=="ia32" or target_arch=="x64" or '
- 'target_arch=="arm"))', {
+ 'target_arch=="arm" or target_arch=="mipsel"))', {
'use_seccomp_bpf%': 1,
}, {
'use_seccomp_bpf%': 0,