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

Unified Diff: sandbox/sandbox_nacl_nonsfi.gyp

Issue 888903004: Non-SFI mode:Suid sandbox. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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/content_nacl_nonsfi.gyp ('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/content/content_nacl_nonsfi.gyp b/sandbox/sandbox_nacl_nonsfi.gyp
similarity index 59%
copy from content/content_nacl_nonsfi.gyp
copy to sandbox/sandbox_nacl_nonsfi.gyp
index 28b44e380d3d5fa2c1056ee096fa5e2aee1d5557..c55b124b7d0ef91fa06fc3a94be0835310220202 100644
--- a/content/content_nacl_nonsfi.gyp
+++ b/sandbox/sandbox_nacl_nonsfi.gyp
@@ -1,4 +1,4 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
+# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -13,11 +13,11 @@
['disable_nacl==0 and disable_nacl_untrusted==0', {
'targets': [
{
- 'target_name': 'content_common_nacl_nonsfi',
+ 'target_name': 'sandbox_nacl_nonsfi',
'type': 'none',
'variables': {
'nacl_untrusted_build': 1,
- 'nlib_target': 'libcontent_common_nacl_nonsfi.a',
+ 'nlib_target': 'libsandbox_nacl_nonsfi.a',
'build_glibc': 0,
'build_newlib': 0,
'build_irt': 0,
@@ -25,9 +25,13 @@
'build_nonsfi_helper': 1,
'sources': [
- 'common/send_zygote_child_ping_linux.cc',
- 'public/common/send_zygote_child_ping_linux.h',
- # TODO(hidehiko): Add sandbox code.
+ # This is the subset of linux build target, needed for
+ # nacl_helper_nonsfi's sandbox implementation.
+ '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.
],
},
'dependencies': [
« no previous file with comments | « content/content_nacl_nonsfi.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698