• Home
  • Raw
  • Download

Lines Matching refs:avrule

214 int display_avrule(avrule_t * avrule, policydb_t * policy,  in display_avrule()  argument
220 if (avrule == NULL) { in display_avrule()
224 if (avrule->specified & AVRULE_AV) { in display_avrule()
225 if (avrule->specified & AVRULE_ALLOWED) { in display_avrule()
228 if (avrule->specified & AVRULE_AUDITALLOW) { in display_avrule()
231 if (avrule->specified & AVRULE_DONTAUDIT) { in display_avrule()
234 } else if (avrule->specified & AVRULE_TYPE) { in display_avrule()
235 if (avrule->specified & AVRULE_TRANSITION) { in display_avrule()
238 if (avrule->specified & AVRULE_MEMBER) { in display_avrule()
241 if (avrule->specified & AVRULE_CHANGE) { in display_avrule()
244 } else if (avrule->specified & AVRULE_NEVERALLOW) { in display_avrule()
246 } else if (avrule->specified & AVRULE_XPERMS) { in display_avrule()
247 if (avrule->specified & AVRULE_XPERMS_ALLOWED) in display_avrule()
249 else if (avrule->specified & AVRULE_XPERMS_AUDITALLOW) in display_avrule()
251 else if (avrule->specified & AVRULE_XPERMS_DONTAUDIT) in display_avrule()
258 if (display_type_set(&avrule->stypes, 0, policy, fp)) in display_avrule()
261 if (display_type_set(&avrule->ttypes, avrule->flags, policy, fp)) in display_avrule()
265 cur = avrule->perms; in display_avrule()
277 cur = avrule->perms; in display_avrule()
287 if (avrule->specified & (AVRULE_AV | AVRULE_NEVERALLOW)) { in display_avrule()
288 render_access_mask(avrule->perms->data, avrule->perms->tclass, in display_avrule()
290 } else if (avrule->specified & AVRULE_TYPE) { in display_avrule()
291 display_id(policy, fp, SYM_TYPES, avrule->perms->data - 1, ""); in display_avrule()
292 } else if (avrule->specified & AVRULE_XPERMS) { in display_avrule()
296 if (avrule->xperms->specified == AVRULE_XPERMS_IOCTLFUNCTION) in display_avrule()
298 else if (avrule->xperms->specified == AVRULE_XPERMS_IOCTLDRIVER) in display_avrule()
305 xperms.driver = avrule->xperms->driver; in display_avrule()
307 xperms.perms[i] = avrule->xperms->perms[i]; in display_avrule()
623 avrule_t *avrule; in display_avdecl() local
630 avrule = cond->avtrue_list; in display_avdecl()
631 while (avrule) { in display_avdecl()
632 display_avrule(avrule, in display_avdecl()
634 avrule = avrule->next; in display_avdecl()
637 avrule = cond->avfalse_list; in display_avdecl()
638 while (avrule) { in display_avdecl()
639 display_avrule(avrule, in display_avdecl()
641 avrule = avrule->next; in display_avdecl()
648 avrule_t *avrule = decl->avrules; in display_avdecl() local
649 if (avrule == NULL) { in display_avdecl()
652 while (avrule != NULL) { in display_avdecl()
653 if (display_avrule(avrule, policy, out_fp)) in display_avdecl()
655 avrule = avrule->next; in display_avdecl()