summaryrefslogtreecommitdiffstats
path: root/base/linux_util.h
diff options
context:
space:
mode:
authorjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-05 21:05:09 +0000
committerjln@chromium.org <jln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-05 21:05:09 +0000
commitd8e9e205d2330586bf892092570dcb0110fe4efb (patch)
treec4338734326d2dc58f4ee794ec33bc4153c4ba72 /base/linux_util.h
parent3cb0ce444fe5306c49c0b139b222fd8092e8a2b9 (diff)
downloadchromium_src-d8e9e205d2330586bf892092570dcb0110fe4efb.zip
chromium_src-d8e9e205d2330586bf892092570dcb0110fe4efb.tar.gz
chromium_src-d8e9e205d2330586bf892092570dcb0110fe4efb.tar.bz2
Linux: bump the setuid sandbox API number
With this change, the setuid sandbox and the Zygote will start complaining if they expect different API versions. Users will get warning messages if their setuid sandbox is too old and be referred to: https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10536009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.h')
-rw-r--r--base/linux_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/linux_util.h b/base/linux_util.h
index 3ac7279..cd305f8 100644
--- a/base/linux_util.h
+++ b/base/linux_util.h
@@ -18,7 +18,7 @@ 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 long kSUIDSandboxApiNumber = 1;
static const char kSandboxEnvironmentApiRequest[] = "SBX_CHROME_API_RQ";
static const char kSandboxEnvironmentApiProvides[] = "SBX_CHROME_API_PRV";