Bug 967967: Record that children of Nuwa start with full privileges. r=khuey

Otherwise, the fix for bug 921817 assumes that they've already dropped
permissions and enables system call sandboxing too early.
This commit is contained in:
Jed Davis 2014-02-05 15:41:43 -08:00
parent cd4e397b72
commit 9373be45d1

View File

@ -1835,7 +1835,7 @@ ContentParent::RecvAddNewProcess(const uint32_t& aPid,
MAGIC_PREALLOCATED_APP_MANIFEST_URL,
aPid,
aFds,
base::PRIVILEGES_DEFAULT);
base::PRIVILEGES_INHERIT);
content->Init();
PreallocatedProcessManager::PublishSpareProcess(content);
return true;