Searched refs:uID (Results 1 - 10 of 10) sorted by relevance
/base/startup/appspawn/lite/ |
H A D | appspawn_message.c | 57 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 D | appspawn_process.c | 105 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 D | appspawn_message.h | 32 int uID; member
|
H A D | appspawn_service.c | 154 client.message.uID, client.message.gID, client.message.capsCnt); in Invoke()
|
/base/startup/appspawn/test/unittest/app_spawn_lite_test/ |
H A D | app_spawn_lite_test.cpp | 82 "{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 D | init_service.h | 115 uid_t uID;
member
|
/base/startup/init/services/init/ |
H A D | init_common_service.c | 166 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 D | init_service_manager.c | 326 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 D | init_control_fd_service.c | 140 printf("\tservice perms uID [%u] \n", service->servPerm.uID); in DumpOneService()
|
/base/startup/init/test/unittest/init/ |
H A D | service_unittest.cpp | 429 service->servPerm.uID = 0; in HWTEST_F()
|
Completed in 8 milliseconds