mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1027902: Use an intial integrity level of low for the GMP sandbox on Windows. r=tabraldes
This commit is contained in:
parent
56249b7725
commit
064df32588
@ -149,13 +149,8 @@ SandboxBroker::SetSecurityLevelForGMPlugin()
|
||||
result = mPolicy->SetAlternateDesktop(true);
|
||||
ret = ret && (sandbox::SBOX_ALL_OK == result);
|
||||
|
||||
// We can't use an alternate desktop/window station AND initially
|
||||
// set the process to low integrity. Upstream changes have been
|
||||
// made to allow this and we should uncomment this section once
|
||||
// we've rolled forward.
|
||||
// result =
|
||||
// mPolicy->SetIntegrityLevel(sandbox::INTEGRITY_LEVEL_LOW);
|
||||
// ret = ret && (sandbox::SBOX_ALL_OK == result);
|
||||
result = mPolicy->SetIntegrityLevel(sandbox::INTEGRITY_LEVEL_LOW);
|
||||
ret = ret && (sandbox::SBOX_ALL_OK == result);
|
||||
|
||||
result =
|
||||
mPolicy->SetDelayedIntegrityLevel(sandbox::INTEGRITY_LEVEL_UNTRUSTED);
|
||||
|
Loading…
Reference in New Issue
Block a user