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

Side by Side Diff: sandbox/linux/suid/sandbox.h

Issue 10807059: Refactor the setuid sandbox client code to its own class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address reviewer's comments and other minor nits. 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef SANDBOX_LINUX_SUID_SANDBOX_H_
6 #define SANDBOX_LINUX_SUID_SANDBOX_H_
7
8 #if defined(__cplusplus)
9 namespace sandbox {
10 #endif
11
12 // These are command line switches that may be used by other programs
13 // (e.g. Chrome) to construct a command line for the sandbox.
14 static const char kAdjustOOMScoreSwitch[] = "--adjust-oom-score";
15 #if defined(OS_CHROMEOS)
16 static const char kAdjustLowMemMarginSwitch[] = "--adjust-low-mem";
17 #endif
18
19 #if defined(__cplusplus)
20 } // namespace sandbox
21 #endif
22
23 #endif // SANDBOX_LINUX_SUID_SANDBOX_H_
OLDNEW
« no previous file with comments | « sandbox/linux/suid/common/suid_unsafe_environment_variables.h ('k') | sandbox/linux/suid/sandbox.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698