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

Side by Side Diff: chrome/nacl/nacl_main_platform_delegate_linux.cc

Issue 10792027: Move /seccompsandbox to /sandbox/linux/seccomp-legacy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of tree (post Windows sandbox move) Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/nacl/DEPS ('k') | content/common/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/nacl/nacl_main_platform_delegate.h" 5 #include "chrome/nacl/nacl_main_platform_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "seccompsandbox/sandbox.h" 8 #include "sandbox/linux/seccomp-legacy/sandbox.h"
9 9
10 NaClMainPlatformDelegate::NaClMainPlatformDelegate( 10 NaClMainPlatformDelegate::NaClMainPlatformDelegate(
11 const content::MainFunctionParams& parameters) 11 const content::MainFunctionParams& parameters)
12 : parameters_(parameters), sandbox_test_module_(NULL) { 12 : parameters_(parameters), sandbox_test_module_(NULL) {
13 } 13 }
14 14
15 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() { 15 NaClMainPlatformDelegate::~NaClMainPlatformDelegate() {
16 } 16 }
17 17
18 void NaClMainPlatformDelegate::PlatformInitialize() { 18 void NaClMainPlatformDelegate::PlatformInitialize() {
(...skipping 24 matching lines...) Expand all
43 // http://code.google.com/p/nativeclient/issues/list?q=label:Seccomp 43 // http://code.google.com/p/nativeclient/issues/list?q=label:Seccomp
44 // At best, NaCl will not work. At worst, enabling the seccomp sandbox 44 // At best, NaCl will not work. At worst, enabling the seccomp sandbox
45 // could create a hole in the NaCl sandbox. 45 // could create a hole in the NaCl sandbox.
46 } 46 }
47 47
48 bool NaClMainPlatformDelegate::RunSandboxTests() { 48 bool NaClMainPlatformDelegate::RunSandboxTests() {
49 // The sandbox is started in the zygote process: zygote_main_linux.cc 49 // The sandbox is started in the zygote process: zygote_main_linux.cc
50 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox 50 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandbox
51 return true; 51 return true;
52 } 52 }
OLDNEW
« no previous file with comments | « chrome/nacl/DEPS ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698