Lines Matching refs:appProperty
86 AppSpawnClientLite *appProperty = (AppSpawnClientLite *)client;
87 return prctl(PR_SET_NAME, appProperty->message.bundleName);
104 AppSpawnClientLite *appProperty = (AppSpawnClientLite *)client;
105 APPSPAWN_LOGE("SetUidGid %d %d", appProperty->message.uID, appProperty->message.gID);
106 if (setgid(appProperty->message.gID) != 0) {
107 APPSPAWN_LOGE("[appspawn] setgid failed, gID %u, err: %d.", appProperty->message.gID, errno);
111 if (setuid(appProperty->message.uID) != 0) {
112 APPSPAWN_LOGE("[appspawn] setuid failed, uID %u, err: %d.", appProperty->message.uID, errno);
117 if (appProperty->message.gID >= LOWER_BOUND_GID && appProperty->message.gID <= UPPER_BOUND_GID) {
118 groups[0] = appProperty->message.gID;
121 APPSPAWN_LOGE("[appspawn] setgroups failed, uID %u, err: %d.", appProperty->message.uID, errno);
133 AppSpawnClientLite *appProperty = (AppSpawnClientLite *)client;
134 APPSPAWN_LOGE("SetCapabilities appProperty->message.capsCnt %d", appProperty->message.capsCnt);
155 if (SetCapability(appProperty->message.capsCnt, appProperty->message.caps) != 0) {
160 APPSPAWN_LOGE("SetCapabilities appProperty->message.capsCnt %d", appProperty->message.capsCnt);
167 AppSpawnClientLite *appProperty = (AppSpawnClientLite *)client;
169 appProperty->message.bundleName, appProperty->message.identityID, appProperty->message.uID,
170 appProperty->message.gID);
173 if (AbilityMain(appProperty->message.identityID) != 0) {