diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-29 14:19:03 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-29 14:19:03 +0000 |
commit | d7c98ef9e4c1682fad50b56f367b022f21c0b2fb (patch) | |
tree | 83e156c68c74f8f66d8df6d039139a9664fc4700 /sandbox/linux | |
parent | 0897873902a2f312d30d69a56ce9aaf7f623e1cc (diff) | |
download | chromium_src-d7c98ef9e4c1682fad50b56f367b022f21c0b2fb.zip chromium_src-d7c98ef9e4c1682fad50b56f367b022f21c0b2fb.tar.gz chromium_src-d7c98ef9e4c1682fad50b56f367b022f21c0b2fb.tar.bz2 |
Merge 53180 - Fix about:sandbox's network isolation indication.
(aka: agl's an idiot. Thanks Julien.)
TBR=agl@chromium.org
BUG=49778
Review URL: http://codereview.chromium.org/3017043
git-svn-id: svn://svn.chromium.org/chrome/branches/472/src@54129 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/linux')
-rw-r--r-- | sandbox/linux/suid/sandbox.c | 2 |
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"); |