mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-30 10:40:33 +00:00
commit
881aa59f3b
@ -181,6 +181,7 @@ typedef enum {
|
||||
APP_FLAGS_ISOLATED_SECCOMP_TYPE,
|
||||
APP_FLAGS_ISOLATED_NETWORK,
|
||||
APP_FLAGS_ISOLATED_DATAGROUP,
|
||||
APP_FLAGS_TEMP_JIT = 28,
|
||||
MAX_FLAGS_INDEX = 63,
|
||||
} AppFlagsIndex;
|
||||
|
||||
|
@ -211,6 +211,9 @@ static int SetXpmConfig(const AppSpawnMgr *content, const AppSpawningCtx *proper
|
||||
idType = PROCESS_OWNERID_DEBUG;
|
||||
} else if (ownerInfo == NULL) {
|
||||
idType = PROCESS_OWNERID_COMPAT;
|
||||
} else if (CheckAppMsgFlagsSet(property, APP_FLAGS_TEMP_JIT)) {
|
||||
idType = PROCESS_OWNERID_APP_TEMP_ALLOW;
|
||||
ownerId = ownerInfo->ownerId;
|
||||
} else {
|
||||
idType = PROCESS_OWNERID_APP;
|
||||
ownerId = ownerInfo->ownerId;
|
||||
|
Loading…
Reference in New Issue
Block a user