Home
last modified time | relevance | path

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

/system/core/trusty/storage/proxy/
Dproxy.c99 capdata[CAP_TO_INDEX(CAP_SYS_RAWIO)].permitted = CAP_TO_MASK(CAP_SYS_RAWIO); in drop_privs()
100 capdata[CAP_TO_INDEX(CAP_SYS_RAWIO)].effective = CAP_TO_MASK(CAP_SYS_RAWIO); in drop_privs()
/system/core/libcutils/include/private/
Dandroid_filesystem_capability.h112 #define CAP_TO_INDEX(x) ((x) >> 5) macro
/system/core/libcutils/
Dsched_policy_test.cpp39 auto nice_idx = CAP_TO_INDEX(CAP_SYS_NICE); in hasCapSysNice()
/system/core/debuggerd/
Ddebuggerd_test.cpp1098 capdata[CAP_TO_INDEX(i)].permitted |= CAP_TO_MASK(i); in TEST_F()
1099 capdata[CAP_TO_INDEX(i)].effective |= CAP_TO_MASK(i); in TEST_F()
1103 capdata[CAP_TO_INDEX(CAP_SYS_PTRACE)].permitted &= ~(CAP_TO_MASK(CAP_SYS_PTRACE)); in TEST_F()
1104 capdata[CAP_TO_INDEX(CAP_SYS_PTRACE)].effective &= ~(CAP_TO_MASK(CAP_SYS_PTRACE)); in TEST_F()