summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-21 14:13:37 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-21 14:13:37 +0000
commit9d89101b3ee934e3a9d5e8823c734f60a4740294 (patch)
treed9d19e27c904e6433ebdd8e19e4bdfe0aafcba5e /sandbox
parent74379bc51320fd98a47c98053a056b4ddd7271a7 (diff)
downloadchromium_src-9d89101b3ee934e3a9d5e8823c734f60a4740294.zip
chromium_src-9d89101b3ee934e3a9d5e8823c734f60a4740294.tar.gz
chromium_src-9d89101b3ee934e3a9d5e8823c734f60a4740294.tar.bz2
Fix about:sandbox's network isolation indication.
(aka: agl's an idiot. Thanks Julien.) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-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 0c92ad2..56bbba3 100644
--- a/sandbox/linux/suid/sandbox.c
+++ b/sandbox/linux/suid/sandbox.c
@@ -289,7 +289,7 @@ static bool MoveToNewNamespaces() {
unsetenv("SBX_PID_NS");
}
- if (kCloneExtraFlags[i] & CLONE_NEWPID) {
+ if (kCloneExtraFlags[i] & CLONE_NEWNET) {
setenv("SBX_NET_NS", "", 1 /* overwrite */);
} else {
unsetenv("SBX_NET_NS");