summaryrefslogtreecommitdiffstats
path: root/base/linux_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/linux_util.cc')
-rw-r--r--base/linux_util.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc
index 0a9ef56..05b23f1 100644
--- a/base/linux_util.cc
+++ b/base/linux_util.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -125,6 +125,13 @@ bool ProcPathGetInode(ino_t* inode_out, const char* path, bool log = false) {
namespace base {
+const char kFindInodeSwitch[] = "--find-inode";
+
+// This should be kept in sync with sandbox/linux/suid/sandbox.c
+const long kSUIDSandboxApiNumber = 1;
+const char kSandboxEnvironmentApiRequest[] = "SBX_CHROME_API_RQ";
+const char kSandboxEnvironmentApiProvides[] = "SBX_CHROME_API_PRV";
+
// Account for the terminating null character.
static const int kDistroSize = 128 + 1;