Update proc.c

This commit is contained in:
DavidXanatos 2023-04-01 22:51:44 +02:00
parent 1bc4490cb1
commit cf9929f958
1 changed files with 10 additions and 10 deletions

View File

@ -874,8 +874,6 @@ _FX BOOL Proc_CreateProcessInternalW(
} }
} }
if (Config_GetSettingsForImageName_bool(L"DeprecatedTokenHacks", FALSE)) // with drop container token, etc this should be obsolete
{
// //
// hack: recent versions of Flash Player use the Chrome sandbox // hack: recent versions of Flash Player use the Chrome sandbox
// architecture which conflicts with our restricted process model // architecture which conflicts with our restricted process model
@ -886,6 +884,8 @@ _FX BOOL Proc_CreateProcessInternalW(
Dll_ImageType == DLL_IMAGE_PLUGIN_CONTAINER) Dll_ImageType == DLL_IMAGE_PLUGIN_CONTAINER)
hToken = NULL; hToken = NULL;
if (Config_GetSettingsForImageName_bool(L"DeprecatedTokenHacks", FALSE)) // with drop container token, etc this should be obsolete
{
// //
// MSEdge Compatibility hack // MSEdge Compatibility hack
// workers of type cdm can't open SbieSvc's ALPC port // workers of type cdm can't open SbieSvc's ALPC port