Home
last modified time | relevance | path

Searched refs:tmpCaps (Results 1 – 2 of 2) sorted by relevance

/base/startup/appspawn_lite/services/src/
Dappspawn_process.c120 unsigned int tmpCaps[] = {17}; // 17 means CAP_SYS_RAWIO in SetPerms() local
121 unsigned int tmpsCapCnt = sizeof(tmpCaps) / sizeof(tmpCaps[0]); in SetPerms()
122 if (SetCapability(tmpsCapCnt, tmpCaps) != 0) { in SetPerms()
/base/startup/appspawn/lite/
Dappspawn_process.c147 unsigned int tmpCaps[] = {17}; // 17 means CAP_SYS_RAWIO in SetCapabilities() local
148 unsigned int tmpsCapCnt = sizeof(tmpCaps) / sizeof(tmpCaps[0]); in SetCapabilities()
149 if (SetCapability(tmpsCapCnt, tmpCaps) != 0) { in SetCapabilities()