Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dutil.c127 #define next_bit_in_range(i, p) (((i) + 1 < sizeof(p)*8) && xperm_test(((i) + 1), p))
151 if (!xperm_test(bit, xperms->perms)) in sepol_extended_perms_to_string()
Dassertion.c102 rc = xperm_test(neverallow->driver, allow->perms); in check_extended_permissions()
105 rc = xperm_test(allow->driver, neverallow->perms); in check_extended_permissions()
Doptimize.c185 return xperm_test(x1->driver, x2->perms); in process_avtab_datum()
Dkernel_to_cil.c1629 #define next_bit_in_range(i, p) (((i) + 1 < sizeof(p)*8) && xperm_test(((i) + 1), p))
1653 if (!xperm_test(bit, xperms->perms)) in xperms_to_str()
Dmodule_to_cil.c627 #define next_bit_in_range(i, p) (((i) + 1 < sizeof(p)*8) && xperm_test(((i) + 1), p))
643 if (!xperm_test(bit, xperms->perms)) in xperms_to_cil()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h254 #define xperm_test(x, p) (UINT32_C(1) & ((p)[(x) >> 5] >> ((x) & 0x1f))) macro
/third_party/selinux/checkpolicy/
Dpolicy_define.c2219 if (!xperm_test(low, complete_driver->perms)) in avrule_ioctl_partialdriver()
2221 if (!xperm_test(high, complete_driver->perms)) in avrule_ioctl_partialdriver()
2335 if (xperm_test(i,xperms->perms)) { in xperms_for_each_bit()