summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authormal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 05:03:07 +0000
committermal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 05:03:07 +0000
commit454d046da6470bdaf3374d2067376d07652141b2 (patch)
tree77ab2c35a51775ed1559a2de42cfffef08642942 /sandbox
parentf8bf62e85f15247e9804ba2494f9b7595f7504eb (diff)
downloadchromium_src-454d046da6470bdaf3374d2067376d07652141b2.zip
chromium_src-454d046da6470bdaf3374d2067376d07652141b2.tar.gz
chromium_src-454d046da6470bdaf3374d2067376d07652141b2.tar.bz2
Remove NEWNS from the setuid sandbox.
This can cause issues with the automounter on ubuntu. R= agl BUG= http://b/2824277 TEST= see bug. Or see traffic on the bug drop to <10 comments/day. Review URL: http://codereview.chromium.org/3146044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/linux/suid/sandbox.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sandbox/linux/suid/sandbox.c b/sandbox/linux/suid/sandbox.c
index 56bbba3..d42474a 100644
--- a/sandbox/linux/suid/sandbox.c
+++ b/sandbox/linux/suid/sandbox.c
@@ -36,9 +36,6 @@
#if !defined(CLONE_NEWNET)
#define CLONE_NEWNET 0x40000000
#endif
-#if !defined(CLONE_NEWNS)
-#define CLONE_NEWNS 0x00020000
-#endif
#if !defined(BTRFS_SUPER_MAGIC)
#define BTRFS_SUPER_MAGIC 0x9123683E
@@ -269,7 +266,6 @@ static bool SpawnChrootHelper() {
static bool MoveToNewNamespaces() {
// These are the sets of flags which we'll try, in order.
const int kCloneExtraFlags[] = {
- CLONE_NEWPID | CLONE_NEWNET | CLONE_NEWNS,
CLONE_NEWPID | CLONE_NEWNET,
CLONE_NEWPID,
};