feat: Default enable jitfort

Signed-off-by: zhuofan0129 <861080528@qq.com>
This commit is contained in:
zhuofan0129 2024-08-13 11:51:28 +08:00
parent 2e64707d53
commit 1e252dcb42

View File

@ -472,7 +472,7 @@ static int SpawnLoadConfig(AppSpawnMgr *content)
LoadSilkConfig();
// init flags that will not change until next reboot
content->flags |= CheckEnabled("const.security.developermode.state", "true") ? APP_DEVELOPER_MODE : 0;
content->flags |= CheckEnabled("persist.security.jitfort.enabled", "true") ? APP_JITFORT_MODE : 0;
content->flags |= CheckEnabled("persist.security.jitfort.disabled", "true") ? 0 : APP_JITFORT_MODE;
return 0;
}