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

Side by Side Diff: content/common/sandbox_seccomp_bpf_linux.h

Issue 10836243: Add basic ARM policy to seccomp-bpf sandbox. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_
6 #define CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ 6 #define CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 10 matching lines...) Expand all
21 // Start the sandbox and apply the policy for process_type. 21 // Start the sandbox and apply the policy for process_type.
22 static bool StartSandbox(const std::string& process_type); 22 static bool StartSandbox(const std::string& process_type);
23 23
24 private: 24 private:
25 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxSeccompBpf); 25 DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxSeccompBpf);
26 }; 26 };
27 27
28 } // namespace content 28 } // namespace content
29 29
30 #endif // CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_ 30 #endif // CONTENT_COMMON_SANDBOX_SECCOMP_BPF_LINUX_H_
31
jln (very slow on Chromium) 2012/08/14 19:10:35 New lines at the end of files is mandated by the s
Jorge Lucangeli Obes 2012/08/14 21:58:06 Have no idea how that got in there. Done.
OLDNEW
« no previous file with comments | « no previous file | content/common/sandbox_seccomp_bpf_linux.cc » ('j') | content/common/sandbox_seccomp_bpf_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698