Home
last modified time | relevance | path

Searched refs:gID (Results 1 – 6 of 6) sorted by relevance

/base/startup/appspawn/lite/
Dappspawn_process.c105 APPSPAWN_LOGE("SetUidGid %d %d", appProperty->message.uID, appProperty->message.gID); in SetUidGid()
106 if (setgid(appProperty->message.gID) != 0) { in SetUidGid()
107 … APPSPAWN_LOGE("[appspawn] setgid failed, gID %u, err: %d.", appProperty->message.gID, errno); in SetUidGid()
117 … if (appProperty->message.gID >= LOWER_BOUND_GID && appProperty->message.gID <= UPPER_BOUND_GID) { in SetUidGid()
118 groups[0] = appProperty->message.gID; in SetUidGid()
170 appProperty->message.gID); in RunChildProcessor()
Dappspawn_message.c58 targetSt->gID = -1; in FreeMessageSt()
190 msgSt->gID = (int)ReadNumberItem(gIDItem); in SplitMessage()
201 if (msgSt->uID <= 0 || msgSt->gID <= 0 || msgSt->uID == INT_MAX || msgSt->gID == INT_MAX) { in SplitMessage()
Dappspawn_message.h33 int gID; member
Dappspawn_service.c142 client.message.uID, client.message.gID, client.message.capsCnt); in Invoke()
/base/startup/appspawn/
DREADME_zh.md40 "{"bundleName":"testvalid1","identityID":"1234","uID":1000,"gID":1000,"capability":[0]}"
49 | gID | 即将启动的应用服务进程的gID。 |
/base/startup/appspawn/test/unittest/app_spawn_lite_test/
Dapp_spawn_lite_test.cpp214 EXPECT_EQ(msgSt.gID, -1);
237 msgSt.gID = TEST_GID;
239 EXPECT_EQ(msgSt.gID, -1);
266 msgSt.gID = TEST_GID;
274 EXPECT_EQ(msgSt.gID, -1);
369 EXPECT_EQ(TEST_GID, msgSt.gID);