summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 07:01:20 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 07:01:20 +0000
commit8d518af0634a01ff4a78479bef43d880259949ca (patch)
treefc778a6507a390a1010910b5e413467af1636f4a /sandbox
parent24e86f4ff7cdf8019b61862eeee2e9b9f4b9d27c (diff)
downloadchromium_src-8d518af0634a01ff4a78479bef43d880259949ca.zip
chromium_src-8d518af0634a01ff4a78479bef43d880259949ca.tar.gz
chromium_src-8d518af0634a01ff4a78479bef43d880259949ca.tar.bz2
Clean out leftover bits of the path-based Linux SUID sandbox.
TEST=none BUG=none Review URL: http://codereview.chromium.org/181030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25019 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/suid/sandbox.c4
-rw-r--r--sandbox/sandbox.gyp10
2 files changed, 0 insertions, 14 deletions
diff --git a/sandbox/linux/suid/sandbox.c b/sandbox/linux/suid/sandbox.c
index 992ee54f..c16045a 100644
--- a/sandbox/linux/suid/sandbox.c
+++ b/sandbox/linux/suid/sandbox.c
@@ -29,10 +29,6 @@
#define CLONE_NEWPID 0x20000000
#endif
-#if defined(LINUX_SANDBOX_CHROME_PATH)
-static const char kChromeBinary[] = LINUX_SANDBOX_CHROME_PATH;
-#endif
-
static const char kSandboxDescriptorEnvironmentVarName[] = "SBX_D";
// These are the magic byte values which the sandboxed process uses to request
diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp
index ee7bf85..e389171 100644
--- a/sandbox/sandbox.gyp
+++ b/sandbox/sandbox.gyp
@@ -12,16 +12,6 @@
{
'target_name': 'chrome_sandbox',
'type': 'executable',
- 'conditions': [
- ['linux_suid_sandbox_restrictions=="User"',
- {
- 'defines': [ 'CHROME_DEVEL_SANDBOX' ],
- },
- ],
- ],
- 'defines': [
- 'LINUX_SANDBOX_CHROME_PATH="<(linux_sandbox_chrome_path)"',
- ],
'sources': [
'linux/suid/sandbox.c',
],