зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1145432: Add the policy for the client side of the crash server pipe to the GMP Windows sandbox. r=aklotz
This commit is contained in:
Родитель
acb8e18785
Коммит
f2a63bbdff
|
@ -272,6 +272,12 @@ SandboxBroker::SetSecurityLevelForGMPlugin()
|
|||
L"\\??\\pipe\\chrome.*");
|
||||
ret = ret && (sandbox::SBOX_ALL_OK == result);
|
||||
|
||||
// Add the policy for the client side of the crash server pipe.
|
||||
result = mPolicy->AddRule(sandbox::TargetPolicy::SUBSYS_FILES,
|
||||
sandbox::TargetPolicy::FILES_ALLOW_ANY,
|
||||
L"\\??\\pipe\\gecko-crash-server-pipe.*");
|
||||
ret = ret && (sandbox::SBOX_ALL_OK == result);
|
||||
|
||||
#ifdef DEBUG
|
||||
// The plugin process can't create named events, but we'll
|
||||
// make an exception for the events used in logging. Removing
|
||||
|
|
Загрузка…
Ссылка в новой задаче