summaryrefslogtreecommitdiffstats
path: root/sandbox/linux
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 /sandbox/linux
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 'sandbox/linux')
-rw-r--r--sandbox/linux/suid/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/linux/suid/sandbox.c b/sandbox/linux/suid/sandbox.c
index b46e906..9c2ecde 100644
--- a/sandbox/linux/suid/sandbox.c
+++ b/sandbox/linux/suid/sandbox.c
@@ -44,7 +44,7 @@ static const char kSandboxDescriptorEnvironmentVarName[] = "SBX_D";
static const char kSandboxHelperPidEnvironmentVarName[] = "SBX_HELPER_PID";
// Should be kept in sync with base/linux_util.h
-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";