Bug 1158773: Use the same initial and delayed integrity level for Windows content sandbox level 0. r=tabraldes

This commit is contained in:
Bob Owen 2015-05-06 10:11:56 +01:00
Родитель c8e7607510
Коммит d65b604e3b
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -98,9 +98,7 @@ SandboxBroker::SetSecurityLevelForContentProcess(int32_t aSandboxLevel)
} else {
jobLevel = sandbox::JOB_NONE;
accessTokenLevel = sandbox::USER_NON_ADMIN;
// INTEGRITY_LEVEL_LAST effectively means don't change from the integrity
// level of the broker process.
initialIntegrityLevel = sandbox::INTEGRITY_LEVEL_LAST;
initialIntegrityLevel = sandbox::INTEGRITY_LEVEL_MEDIUM;
delayedIntegrityLevel = sandbox::INTEGRITY_LEVEL_MEDIUM;
}