mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-23 15:10:44 +00:00
feat: Default enable jitfort
Signed-off-by: zhuofan0129 <861080528@qq.com>
This commit is contained in:
parent
2e64707d53
commit
1e252dcb42
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user