diff options
Diffstat (limited to 'sandbox/linux/suid/sandbox.h')
-rw-r--r-- | sandbox/linux/suid/sandbox.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sandbox/linux/suid/sandbox.h b/sandbox/linux/suid/sandbox.h new file mode 100644 index 0000000..e9ae90c --- /dev/null +++ b/sandbox/linux/suid/sandbox.h @@ -0,0 +1,24 @@ +// Copyright (c) 2012 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. + +#ifndef SANDBOX_LINUX_SUID_SANDBOX_H_ +#define SANDBOX_LINUX_SUID_SANDBOX_H_ +#pragma once + +#if defined(__cplusplus) +namespace sandbox { +#endif + +// These are command line switches that may be used by other programs +// (e.g. Chrome) to construct a command line for the sandbox. +static const char kAdjustOOMScoreSwitch[] = "--adjust-oom-score"; +#if defined(OS_CHROMEOS) +static const char kAdjustLowMemMarginSwitch[] = "--adjust-low-mem"; +#endif + +#if defined(__cplusplus) +} // namespace sandbox +#endif + +#endif // SANDBOX_LINUX_SUID_SANDBOX_H_ |