Searched refs:UID_BASE (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_utils.cpp | 386 …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 D | sandbox_cfgvar.c | 62 len = sprintf_s((char *)buffer, bufferLen, "%u", info->uid / UID_BASE); in VarCurrentUseIdReplace()
|
H A D | appspawn_sandbox.c | 792 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 D | appspawn_utils.h | 69 #define UID_BASE 200000 // 20010029 macro
|
/ohos5.0/base/startup/appspawn/modules/common/ |
H A D | appspawn_adapter.cpp | 197 const uint32_t userId = appInfo->uid / UID_BASE; in InitAppCommonEnv()
|
H A D | appspawn_cgroup.c | 38 const int userId = appInfo->uid / UID_BASE; in GetCgroupPath()
|
H A D | appspawn_common.c | 247 gid_t gid = dacInfo->gid / UID_BASE; in SetUidGid()
|