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

Unified Diff: sandbox/sandbox_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 | « sandbox/linux/system_headers/linux_signal.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/sandbox_nacl_nonsfi.gyp
diff --git a/sandbox/sandbox_nacl_nonsfi.gyp b/sandbox/sandbox_nacl_nonsfi.gyp
index c55b124b7d0ef91fa06fc3a94be0835310220202..f99c15eda3f79ffd92ecf376ae5689daf6d25f90 100644
--- a/sandbox/sandbox_nacl_nonsfi.gyp
+++ b/sandbox/sandbox_nacl_nonsfi.gyp
@@ -30,8 +30,24 @@
'linux/services/proc_util.cc',
'linux/services/thread_helpers.cc',
'linux/suid/client/setuid_sandbox_client.cc',
- # TODO(hidehiko): Support namespace sandbox and seccomp-bpf
- # sandbox.
+
+ 'linux/bpf_dsl/bpf_dsl.cc',
+ 'linux/bpf_dsl/codegen.cc',
+ 'linux/bpf_dsl/dump_bpf.cc',
+ 'linux/bpf_dsl/policy.cc',
+ 'linux/bpf_dsl/policy_compiler.cc',
+ 'linux/bpf_dsl/syscall_set.cc',
+ 'linux/bpf_dsl/verifier.cc',
+ 'linux/seccomp-bpf-helpers/sigsys_handlers.cc',
+ 'linux/seccomp-bpf-helpers/syscall_parameters_restrictions.cc',
+ 'linux/seccomp-bpf/die.cc',
+ 'linux/seccomp-bpf/errorcode.cc',
+ 'linux/seccomp-bpf/sandbox_bpf.cc',
+ 'linux/seccomp-bpf/syscall.cc',
+ 'linux/seccomp-bpf/trap.cc',
+ 'linux/services/resource_limits.cc',
+ 'linux/services/syscall_wrappers.cc',
+ # TODO(hidehiko): Support namespace sandbox.
],
},
'dependencies': [
« no previous file with comments | « sandbox/linux/system_headers/linux_signal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698