Home | History | Annotate | Download | only in src

Lines Matching full:xperms

124 char *sepol_extended_perms_to_string(avtab_extended_perms_t *xperms)
137 if ((xperms->specified != AVTAB_XPERMS_IOCTLFUNCTION)
138 && (xperms->specified != AVTAB_XPERMS_IOCTLDRIVER))
145 for (bit = 0; bit < sizeof(xperms->perms)*8; bit++) {
146 if (!xperm_test(bit, xperms->perms))
149 if (in_range && next_bit_in_range(bit, xperms->perms)) {
152 } else if (next_bit_in_range(bit, xperms->perms)) {
159 if (xperms->specified & AVTAB_XPERMS_IOCTLFUNCTION) {
160 value = xperms->driver<<8 | bit;
161 low_value = xperms->driver<<8 | low_bit;
167 } else if (xperms->specified & AVTAB_XPERMS_IOCTLDRIVER) {