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,18 +874,18 @@ _FX BOOL Proc_CreateProcessInternalW(
} }
} }
//
// hack: recent versions of Flash Player use the Chrome sandbox
// architecture which conflicts with our restricted process model
//
if (Dll_ImageType == DLL_IMAGE_FLASH_PLAYER_SANDBOX ||
Dll_ImageType == DLL_IMAGE_ACROBAT_READER ||
Dll_ImageType == DLL_IMAGE_PLUGIN_CONTAINER)
hToken = NULL;
if (Config_GetSettingsForImageName_bool(L"DeprecatedTokenHacks", FALSE)) // with drop container token, etc this should be obsolete 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
// architecture which conflicts with our restricted process model
//
if (Dll_ImageType == DLL_IMAGE_FLASH_PLAYER_SANDBOX ||
Dll_ImageType == DLL_IMAGE_ACROBAT_READER ||
Dll_ImageType == DLL_IMAGE_PLUGIN_CONTAINER)
hToken = NULL;
// //
// 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