forked from mirrors/gecko-dev
Bug 1867898 - Use more clone() flags for Utility r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D195847
This commit is contained in:
parent
84c3f34421
commit
28c259722c
1 changed files with 7 additions and 0 deletions
|
|
@ -319,6 +319,13 @@ void SandboxLaunch::Configure(GeckoProcessType aType, SandboxingKind aKind,
|
||||||
flags |= CLONE_NEWNET;
|
flags |= CLONE_NEWNET;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case GeckoProcessType_Utility:
|
||||||
|
if (level >= 1) {
|
||||||
|
canChroot = true;
|
||||||
|
flags |= CLONE_NEWIPC;
|
||||||
|
flags |= CLONE_NEWNET;
|
||||||
|
}
|
||||||
|
break;
|
||||||
case GeckoProcessType_Content:
|
case GeckoProcessType_Content:
|
||||||
if (level >= 4) {
|
if (level >= 4) {
|
||||||
canChroot = true;
|
canChroot = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue