Searched refs:capheader (Results 1 – 3 of 3) sorted by relevance
/system/core/debuggerd/libdebuggerd/ |
D | utility.cpp | 249 __user_cap_header_struct capheader; in drop_capabilities() local 250 memset(&capheader, 0, sizeof(capheader)); in drop_capabilities() 251 capheader.version = _LINUX_CAPABILITY_VERSION_3; in drop_capabilities() 252 capheader.pid = 0; in drop_capabilities() 257 if (capset(&capheader, &capdata[0]) == -1) { in drop_capabilities()
|
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 245 __user_cap_header_struct capheader; in raise_caps() local 246 memset(&capheader, 0, sizeof(capheader)); in raise_caps() 247 capheader.version = _LINUX_CAPABILITY_VERSION_3; in raise_caps() 248 capheader.pid = 0; in raise_caps() 251 if (capget(&capheader, &capdata[0]) == -1) { in raise_caps() 260 if (capset(&capheader, &capdata[0]) == -1) { in raise_caps()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 1375 __user_cap_header_struct capheader; in TEST_F() local 1377 memset(&capheader, 0, sizeof(capheader)); in TEST_F() 1380 capheader.version = _LINUX_CAPABILITY_VERSION_3; in TEST_F() 1381 capheader.pid = 0; in TEST_F() 1394 if (capset(&capheader, &capdata[0]) != 0) { in TEST_F()
|