Home
last modified time | relevance | path

Searched refs:uID (Results 1 - 10 of 10) sorted by relevance

/base/startup/appspawn/lite/
H A Dappspawn_message.c57 targetSt->uID = -1; in FreeMessageSt()
187 cJSON *uIDItem = cJSON_GetObjectItem(rootJ, "uID"); in SplitMessage()
189 msgSt->uID = (int)ReadNumberItem(uIDItem); in SplitMessage()
201 if (msgSt->uID <= 0 || msgSt->gID <= 0 || msgSt->uID == INT_MAX || msgSt->gID == INT_MAX) { in SplitMessage()
H A Dappspawn_process.c105 APPSPAWN_LOGE("SetUidGid %d %d", appProperty->message.uID, appProperty->message.gID); in SetUidGid()
111 if (setuid(appProperty->message.uID) != 0) { in SetUidGid()
112 APPSPAWN_LOGE("[appspawn] setuid failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid()
121 APPSPAWN_LOGE("[appspawn] setgroups failed, uID %u, err: %d.", appProperty->message.uID, errno); in SetUidGid()
169 appProperty->message.bundleName, appProperty->message.identityID, appProperty->message.uID, in RunChildProcessor()
H A Dappspawn_message.h32 int uID; member
H A Dappspawn_service.c154 client.message.uID, client.message.gID, client.message.capsCnt); in Invoke()
/base/startup/appspawn/test/unittest/app_spawn_lite_test/
H A Dapp_spawn_lite_test.cpp82 "{bundleName\":\"nameV\",\"identityID\":\"1\",\"uID\":10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
84 "{\"bundleName:\"nameV\",\"identityID\":\"1\",\"uID\":10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
86 "{\"bundleName\":\"nameV\",\"identityID:\"1\",\"uID\":10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
88 "{\"bundleName\":\"nameV\",\"identityID\":1\",\"uID\":10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
90 "{\"bundleName\":\"nameV\",\"identityID\":\"1,\"uID\":10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
92 "{\"bundleName\":\"nameV\",\"identityID\":\"1\",uID\":10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
94 "{\"bundleName\":\"nameV\",\"identityID\":\"1\",\"uID:10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
96 "{\"bundleName\":\"nameV\",\"identityID\":\"1\",\"uID\":10,\"gID\":10,\"capability:[0]}")); in StructuralFormatErrJson()
98 "{\"bundleName\":\"nameV\",\"identityID\":\"1\",\"uID\":10,\"gID\":10,\"capability\":[0]}")); in StructuralFormatErrJson()
100 "{\"bundleName\":\"nameV\",\"identityID\":\"1\",\"uID\" in StructuralFormatErrJson()
[all...]
/base/startup/init/services/init/include/
H A Dinit_service.h115 uid_t uID; member
/base/startup/init/services/init/
H A Dinit_common_service.c166 INIT_ERROR_CHECK(setgid(service->servPerm.uID) == 0, return SERVICE_FAILURE, in ServiceSetGid()
241 if (service->servPerm.uID != 0) { in SetPerms()
242 INIT_ERROR_CHECK(setuid(service->servPerm.uID) == 0, return INIT_EUIDSET, in SetPerms()
663 INIT_LOGI("ServiceStart started info %s(pid %d uid %d)", service->name, pid, service->servPerm.uID); in ServiceStart()
H A Dinit_service_manager.c326 curServ->servPerm.gIDArray[gidArrayIndex++] = curServ->servPerm.uID; in GetServiceGids()
946 ret = GetUid(cJSON_GetObjectItem(curItem, UID_STR_IN_CFG), &service->servPerm.uID); in ParseOneService()
/base/startup/init/services/init/standard/
H A Dinit_control_fd_service.c140 printf("\tservice perms uID [%u] \n", service->servPerm.uID); in DumpOneService()
/base/startup/init/test/unittest/init/
H A Dservice_unittest.cpp429 service->servPerm.uID = 0; in HWTEST_F()

Completed in 8 milliseconds