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

Unified Diff: content/content_nacl_nonsfi.gyp

Issue 1029283003: WIP: Implement seccomp-bpf sandbox for nacl_helper_nonsfi. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_nacl_nonsfi.gyp
diff --git a/content/content_nacl_nonsfi.gyp b/content/content_nacl_nonsfi.gyp
index 4f30ca4b9a2a74dfd24cb3f132a8c7cab6e88e43..ef5ac9a48aa02034c0423d0e8f3151cf37619f4f 100644
--- a/content/content_nacl_nonsfi.gyp
+++ b/content/content_nacl_nonsfi.gyp
@@ -27,9 +27,15 @@
'sources': [
'common/send_zygote_child_ping_linux.cc',
'public/common/content_switches.cc',
+ 'common/sandbox_linux/sandbox_init_linux.cc',
+ 'common/sandbox_linux/sandbox_seccomp_bpf_linux.cc',
# TODO(hidehiko): Add sandbox code.
],
},
+ 'defines': [
+ 'USE_SECCOMP_BPF=1',
+ 'IN_NACL_HELPER=1',
+ ],
'dependencies': [
'../base/base_nacl.gyp:base_nacl_nonsfi',
'../native_client/tools.gyp:prep_toolchain',
« no previous file with comments | « content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698