Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dutil.c122 #define next_bit_in_range(i, p) ((i + 1 < sizeof(p)*8) && xperm_test((i + 1), p))
146 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()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h244 #define xperm_test(x, p) (1 & (p[x >> 5] >> (x & 0x1f))) macro
/external/selinux/checkpolicy/
Dpolicy_define.c2116 if (!xperm_test(low, complete_driver->perms)) in avrule_ioctl_partialdriver()
2118 if (!xperm_test(high, complete_driver->perms)) in avrule_ioctl_partialdriver()
2243 if (xperm_test(i,xperms->perms)) { in xperms_for_each_bit()