summaryrefslogtreecommitdiffstats
path: root/components/nacl_nonsfi.gyp
diff options
context:
space:
mode:
authorhidehiko <hidehiko@chromium.org>2015-04-30 22:16:05 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-01 05:16:34 +0000
commitaca25fdd9772e974b0399c24590fd864cebfcbab (patch)
tree04504d176310117a6a6f2c214a56587d3f5468ee /components/nacl_nonsfi.gyp
parent7f841930479d87f5c65082d26cc764883c1cd5dc (diff)
downloadchromium_src-aca25fdd9772e974b0399c24590fd864cebfcbab.zip
chromium_src-aca25fdd9772e974b0399c24590fd864cebfcbab.tar.gz
chromium_src-aca25fdd9772e974b0399c24590fd864cebfcbab.tar.bz2
Non-SFI mode: Enable seccomp-bpf sandbox on nacl_helper_nonsfi.
This CL enables seccomp-bpf sandbox on nacl_helper_nonsfi. In codegen.cc, static_cast is added as implicit narrowing triggers compiler warning (= error with -Werror), with PNaCl toolchain. TEST=Ran bots. Ran ./sandbox_linux_unittests and ./nacl_loader_unittests locally with {Debug,Release} * {clang,gcc,msan,tsan} combinations. Ran ./browser_tests --gtest_filter=*NaCl*:*PPAPI* locally with {Release} * {clang,gcc,msan} combinations. Test an app using Non-SFI mode already with --use-nacl-helper-nonsfi. BUG=358465 Review URL: https://codereview.chromium.org/1104993002 Cr-Commit-Position: refs/heads/master@{#327880}
Diffstat (limited to 'components/nacl_nonsfi.gyp')
-rw-r--r--components/nacl_nonsfi.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/nacl_nonsfi.gyp b/components/nacl_nonsfi.gyp
index 3df9c45..53ff394 100644
--- a/components/nacl_nonsfi.gyp
+++ b/components/nacl_nonsfi.gyp
@@ -56,6 +56,7 @@
'nacl/loader/nacl_trusted_listener.cc',
'nacl/loader/nonsfi/nonsfi_listener.cc',
'nacl/loader/nonsfi/nonsfi_main.cc',
+ 'nacl/loader/nonsfi/nonsfi_sandbox.cc',
'nacl/loader/sandbox_linux/nacl_sandbox_linux.cc',
],