Home
last modified time | relevance | path

Searched refs:capheader (Results 1 – 4 of 4) sorted by relevance

/system/core/trusty/storage/proxy/
Dproxy.c69 struct __user_cap_header_struct capheader; in drop_privs() local
90 memset(&capheader, 0, sizeof(capheader)); in drop_privs()
92 capheader.version = _LINUX_CAPABILITY_VERSION_3; in drop_privs()
93 capheader.pid = 0; in drop_privs()
98 if (capset(&capheader, &capdata[0]) < 0) { in drop_privs()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp240 __user_cap_header_struct capheader; local
241 memset(&capheader, 0, sizeof(capheader));
242 capheader.version = _LINUX_CAPABILITY_VERSION_3;
243 capheader.pid = 0;
248 if (capset(&capheader, &capdata[0]) == -1) {
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp221 __user_cap_header_struct capheader; in raise_caps() local
222 memset(&capheader, 0, sizeof(capheader)); in raise_caps()
223 capheader.version = _LINUX_CAPABILITY_VERSION_3; in raise_caps()
224 capheader.pid = 0; in raise_caps()
227 if (capget(&capheader, &capdata[0]) == -1) { in raise_caps()
236 if (capset(&capheader, &capdata[0]) == -1) { in raise_caps()
/system/core/debuggerd/
Ddebuggerd_test.cpp516 __user_cap_header_struct capheader; in TEST_F() local
518 memset(&capheader, 0, sizeof(capheader)); in TEST_F()
521 capheader.version = _LINUX_CAPABILITY_VERSION_3; in TEST_F()
522 capheader.pid = 0; in TEST_F()
535 if (capset(&capheader, &capdata[0]) != 0) { in TEST_F()