Home
last modified time | relevance | path

Searched refs:xperm_test (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/src/
Dutil.c123 #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()
Dassertion.c97 rc = xperm_test(neverallow->driver, allow->perms); in check_extended_permissions()
100 rc = xperm_test(allow->driver, neverallow->perms); in check_extended_permissions()
Doptimize.c111 return xperm_test(x1->driver, x2->perms); in process_avtab_datum()
Dkernel_to_cil.c1576 #define next_bit_in_range(i, p) ((i + 1 < sizeof(p)*8) && xperm_test((i + 1), p))
1600 if (!xperm_test(bit, xperms->perms)) in xperms_to_str()
Dmodule_to_cil.c623 #define next_bit_in_range(i, p) ((i + 1 < sizeof(p)*8) && xperm_test((i + 1), p))
639 if (!xperm_test(bit, xperms->perms)) in xperms_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h253 #define xperm_test(x, p) (1 & (p[x >> 5] >> (x & 0x1f))) macro
/external/selinux/checkpolicy/
Dpolicy_define.c2217 if (!xperm_test(low, complete_driver->perms)) in avrule_ioctl_partialdriver()
2219 if (!xperm_test(high, complete_driver->perms)) in avrule_ioctl_partialdriver()
2344 if (xperm_test(i,xperms->perms)) { in xperms_for_each_bit()