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

Unified Diff: base/linux_util.h

Issue 10492006: Setuid sandbox API versioning (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/zygote_host_impl_linux.cc » ('j') | content/zygote/zygote_main_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/linux_util.h
diff --git a/base/linux_util.h b/base/linux_util.h
index 4f2808b93f5188d4318663fa6a78bb4dfac1e927..7828b67ba588293f793ad7495acd3fb0d8874c7a 100644
--- a/base/linux_util.h
+++ b/base/linux_util.h
@@ -17,6 +17,11 @@ namespace base {
static const char kFindInodeSwitch[] = "--find-inode";
+// This should be kept in sync with sandbox/linux/suid/sandbox.c
+static const long kSUIDSandboxApiNumber = 0;
+static const char kSandboxEnvironmentApiRequest[] = "SBX_API_RQ";
Brad Chen 2012/06/02 15:57:03 I'm wondering if it would be worth making these na
jln (very slow on Chromium) 2012/06/04 19:26:23 Done. I didn't change the old environment variable
+static const char kSandboxEnvironmentApiProvides[] = "SBX_API_PRV";
+
// This is declared here so the crash reporter can access the memory directly
// in compromised context without going through the standard library.
BASE_EXPORT extern char g_linux_distro[];
« no previous file with comments | « no previous file | content/browser/zygote_host_impl_linux.cc » ('j') | content/zygote/zygote_main_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698