Searched refs:xperm_test (Results 1 – 6 of 6) sorted by relevance
/external/selinux/libsepol/src/ |
D | util.c | 123 #define next_bit_in_range(i, p) ((i + 1 < sizeof(p)*8) && xperm_test((i + 1), p)) 147 if (!xperm_test(bit, xperms->perms)) in sepol_extended_perms_to_string()
|
D | assertion.c | 97 rc = xperm_test(neverallow->driver, allow->perms); in check_extended_permissions() 100 rc = xperm_test(allow->driver, neverallow->perms); in check_extended_permissions()
|
D | kernel_to_cil.c | 1578 #define next_bit_in_range(i, p) ((i + 1 < sizeof(p)*8) && xperm_test((i + 1), p)) 1602 if (!xperm_test(bit, xperms->perms)) in xperms_to_str()
|
D | module_to_cil.c | 622 #define next_bit_in_range(i, p) ((i + 1 < sizeof(p)*8) && xperm_test((i + 1), p)) 638 if (!xperm_test(bit, xperms->perms)) in xperms_to_cil()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 252 #define xperm_test(x, p) (1 & (p[x >> 5] >> (x & 0x1f))) macro
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 2224 if (!xperm_test(low, complete_driver->perms)) in avrule_ioctl_partialdriver() 2226 if (!xperm_test(high, complete_driver->perms)) in avrule_ioctl_partialdriver() 2351 if (xperm_test(i,xperms->perms)) { in xperms_for_each_bit()
|