Home
last modified time | relevance | path

Searched refs:IOC_DRIV (Results 1 – 2 of 2) sorted by relevance

/external/selinux/checkpolicy/
Dpolicy_define.c2195 #define IOC_DRIV(x) (x >> 8) macro
2214 low = IOC_DRIV(r->range.low); in avrule_ioctl_partialdriver()
2215 high = IOC_DRIV(r->range.high); in avrule_ioctl_partialdriver()
2259 high = IOC_DRIV((uint32_t) (r->range.high + 1)); in avrule_ioctl_completedriver()
2261 low = IOC_DRIV(r->range.low); in avrule_ioctl_completedriver()
2298 if ((driver != IOC_DRIV(low)) && (driver != IOC_DRIV(high))) { in avrule_ioctl_func()
2303 if (driver == IOC_DRIV(low)) { in avrule_ioctl_func()
/external/selinux/libsepol/cil/src/
Dcil_binary.c1569 #define IOC_DRIV(x) (x >> 8) macro
1609 __avrule_xperm_setrangebits(IOC_DRIV(low), IOC_DRIV(low), complete); in __cil_permx_bitmap_to_sepol_xperms_list()
1611 if (partial && partial->driver != IOC_DRIV(low)) { in __cil_permx_bitmap_to_sepol_xperms_list()
1618 partial->driver = IOC_DRIV(low); in __cil_permx_bitmap_to_sepol_xperms_list()