Home
last modified time | relevance | path

Searched refs:appConfig (Results 1 - 3 of 3) sorted by relevance

/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp776 static bool CheckMountFlag(const AppSpawningCtx *appProperty, const std::string bundleName, nlohmann::json &appConfig) in CheckMountFlag() argument
778 if (appConfig.find(g_flags) != appConfig.end()) { in CheckMountFlag()
779 if (((ConvertFlagStr(appConfig[g_flags].get<std::string>()) & GetAppMsgFlags(appProperty)) != 0) && in CheckMountFlag()
788 nlohmann::json &appConfig, const char *typeName, const std::string &section) in DoAllMntPointsMount()
791 if (appConfig.find(g_mountPrefix) == appConfig.end()) { in DoAllMntPointsMount()
797 std::string sandboxRoot = GetSbxPathByConfig(appProperty, appConfig); in DoAllMntPointsMount()
798 bool checkFlag = CheckMountFlag(appProperty, bundleName, appConfig); in DoAllMntPointsMount()
800 nlohmann::json& mountPoints = appConfig[g_mountPrefi in DoAllMntPointsMount()
787 DoAllMntPointsMount(const AppSpawningCtx *appProperty, nlohmann::json &appConfig, const char *typeName, const std::string &section) DoAllMntPointsMount() argument
837 DoAddGid(AppSpawningCtx *appProperty, nlohmann::json &appConfig, const char* permissionName, const std::string &section) DoAddGid() argument
861 DoAllSymlinkPointslink(const AppSpawningCtx *appProperty, nlohmann::json &appConfig) DoAllSymlinkPointslink() argument
967 HandleFlagsPoint(const AppSpawningCtx *appProperty, nlohmann::json &appConfig) HandleFlagsPoint() argument
1345 nlohmann::json appConfig; GetSandboxNsFlags() local
1423 nlohmann::json& appConfig = privateAppConfig[GetBundleName(appProperty)][0]; CheckAppSandboxSwitchStatus() local
[all...]
H A Dsandbox_utils.h80 nlohmann::json &appConfig, const char *typeName, const std::string &section = "app-base");
81 static int DoAllSymlinkPointslink(const AppSpawningCtx *appProperty, nlohmann::json &appConfig);
107 static int32_t DoAddGid(AppSpawningCtx *appProperty, nlohmann::json &appConfig,
H A Dsandbox_load.c148 static uint32_t GetSandboxNsFlags(const cJSON *appConfig) in GetSandboxNsFlags() argument
151 cJSON *obj = cJSON_GetObjectItemCaseSensitive(appConfig, "sandbox-ns-flags"); in GetSandboxNsFlags()

Completed in 5 milliseconds