Home
last modified time | relevance | path

Searched refs:UID_BASE (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp386 …path = "/data/service/el2/" + std::to_string(dacInfo->uid / UID_BASE) + "/share/" + variablePackag… in MakeAtomicServiceDir()
506 path = replace_all(path, g_userId, std::to_string(dacInfo->uid / UID_BASE)); in ConvertToRealPath()
578 const std::string defaultSandboxRoot = g_sandBoxDir + to_string(dacInfo->uid / UID_BASE) + in GetSbxPathByConfig()
1625 std::string sandboxPackagePath = g_sandBoxRootDir + to_string(dacInfo->uid / UID_BASE) + "/"; in SetAppSandboxProperty()
1904 …t = snprintf_s(path, PATH_MAX_LEN, PATH_MAX_LEN - 1, "%s/%u/%s/%s", rootPath, info->uid / UID_BASE, in MountInShared()
1962 info->uid / UID_BASE); in SharedMountInSharefs()
1996 mntUser, info->uid / UID_BASE, nosharefsDocs); in UpdateStorageDir()
2004 mntUser, info->uid / UID_BASE, sharefsDocs); in UpdateStorageDir()
2014 …f_s(storageUserPath, PATH_MAX_LEN, PATH_MAX_LEN - 1, "%s/%d/%s/%s", rootPath, info->uid / UID_BASE, in UpdateStorageDir()
2064 std::string lockSbxPathStamp = rootPath + to_string(info->uid / UID_BASE) + "/"; in MountDirToShared()
[all …]
H A Dsandbox_cfgvar.c62 len = sprintf_s((char *)buffer, bufferLen, "%u", info->uid / UID_BASE); in VarCurrentUseIdReplace()
H A Dappspawn_sandbox.c792 int ret = BuildRootPath(path, sizeof(path), sandbox, uid / UID_BASE); in UnmountDepPaths()
812 int ret = BuildRootPath(path, sizeof(path), sandbox, uid / UID_BASE); in UnmountSandboxConfigs()
/ohos5.0/base/startup/appspawn/util/include/
H A Dappspawn_utils.h69 #define UID_BASE 200000 // 20010029 macro
/ohos5.0/base/startup/appspawn/modules/common/
H A Dappspawn_adapter.cpp197 const uint32_t userId = appInfo->uid / UID_BASE; in InitAppCommonEnv()
H A Dappspawn_cgroup.c38 const int userId = appInfo->uid / UID_BASE; in GetCgroupPath()
H A Dappspawn_common.c247 gid_t gid = dacInfo->gid / UID_BASE; in SetUidGid()