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