From d8e9e205d2330586bf892092570dcb0110fe4efb Mon Sep 17 00:00:00 2001 From: "jln@chromium.org" Date: Tue, 5 Jun 2012 21:05:09 +0000 Subject: 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 --- sandbox/linux/suid/sandbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sandbox/linux') 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"; -- cgit v1.1