Lines Matching refs:dacInfo

413     AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, TLV_DAC_INFO));
414 APPSPAWN_CHECK(dacInfo != NULL, return, "No dac info in msg app property");
416 ret = chown(path.c_str(), dacInfo->uid, dacInfo->gid);
418 ret = chown(path.c_str(), dacInfo->uid, APP_DATABASE_DIR_GID);
420 ret = chown(path.c_str(), dacInfo->uid, APP_LOG_DIR_GID);
482 AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, TLV_DAC_INFO));
483 if (info == nullptr || dacInfo == nullptr) {
499 path = replace_all(path, g_userId, std::to_string(dacInfo->uid / UID_BASE));
563 AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, TLV_DAC_INFO));
564 if (dacInfo == nullptr) {
571 const std::string defaultSandboxRoot = g_sandBoxDir + to_string(dacInfo->uid / UID_BASE) +
643 AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, TLV_DAC_INFO));
644 if (dacInfo == nullptr) {
659 fd, dacInfo->uid, dacInfo->gid);
736 AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, TLV_DAC_INFO));
737 if (dacInfo == nullptr) {
745 options += std::to_string(dacInfo->uid / userIdBase);
844 AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, TLV_DAC_INFO));
845 if (dacInfo == nullptr) {
852 if (dacInfo->gidCount < APP_MAX_GIDS) {
855 dacInfo->gidTable[dacInfo->gidCount++] = gids[i].get<uint32_t>();
1614 AppSpawnMsgDacInfo *dacInfo = reinterpret_cast<AppSpawnMsgDacInfo *>(GetAppProperty(appProperty, TLV_DAC_INFO));
1615 if (dacInfo == nullptr) {
1619 std::string sandboxPackagePath = g_sandBoxRootDir + to_string(dacInfo->uid / UID_BASE) + "/";