mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-02 02:47:57 +01:00
- Configuration of OSR VSync interval is currently missing (issue #2517) - Rename VERSION to VERSION.in to fix libc++ compile error (issue #2518)
19 lines
929 B
Diff
19 lines
929 B
Diff
diff --git services/service_manager/sandbox/win/sandbox_win.cc services/service_manager/sandbox/win/sandbox_win.cc
|
|
index 79ae61d7e5c9..92b1721013bc 100644
|
|
--- services/service_manager/sandbox/win/sandbox_win.cc
|
|
+++ services/service_manager/sandbox/win/sandbox_win.cc
|
|
@@ -883,8 +883,11 @@ sandbox::ResultCode SandboxWin::StartSandboxedProcess(
|
|
#endif
|
|
|
|
// Post-startup mitigations.
|
|
- mitigations = sandbox::MITIGATION_STRICT_HANDLE_CHECKS |
|
|
- sandbox::MITIGATION_DLL_SEARCH_ORDER;
|
|
+ mitigations = sandbox::MITIGATION_DLL_SEARCH_ORDER;
|
|
+ if (!launcher_process_command_line.HasSwitch("win-rt-app")) {
|
|
+ // Don't enable this mitigation in WinRT apps. See issue #2274.
|
|
+ mitigations |= sandbox::MITIGATION_STRICT_HANDLE_CHECKS;
|
|
+ }
|
|
if (!cmd_line->HasSwitch(switches::kAllowThirdPartyModules))
|
|
mitigations |= sandbox::MITIGATION_FORCE_MS_SIGNED_BINS;
|
|
if (sandbox_type == SANDBOX_TYPE_NETWORK ||
|