Home | History | Annotate | Download | only in test

Lines Matching refs:avrule

214 int display_avrule(avrule_t * avrule, policydb_t * policy,
220 if (avrule == NULL) {
224 if (avrule->specified & AVRULE_AV) {
225 if (avrule->specified & AVRULE_ALLOWED) {
228 if (avrule->specified & AVRULE_AUDITALLOW) {
231 if (avrule->specified & AVRULE_DONTAUDIT) {
234 } else if (avrule->specified & AVRULE_TYPE) {
235 if (avrule->specified & AVRULE_TRANSITION) {
238 if (avrule->specified & AVRULE_MEMBER) {
241 if (avrule->specified & AVRULE_CHANGE) {
244 } else if (avrule->specified & AVRULE_NEVERALLOW) {
251 if (display_type_set(&avrule->stypes, 0, policy, fp))
254 if (display_type_set(&avrule->ttypes, avrule->flags, policy, fp))
258 cur = avrule->perms;
270 cur = avrule->perms;
280 if (avrule->specified & (AVRULE_AV | AVRULE_NEVERALLOW)) {
281 render_access_mask(avrule->perms->data, avrule->perms->tclass,
283 } else if (avrule->specified & AVRULE_TYPE) {
284 display_id(policy, fp, SYM_TYPES, avrule->perms->data - 1, "");
598 avrule_t *avrule;
605 avrule = cond->avtrue_list;
606 while (avrule) {
607 display_avrule(avrule,
609 avrule = avrule->next;
612 avrule = cond->avfalse_list;
613 while (avrule) {
614 display_avrule(avrule,
616 avrule = avrule->next;
623 avrule_t *avrule = decl->avrules;
624 if (avrule == NULL) {
627 while (avrule != NULL) {
628 if (display_avrule(avrule, policy, out_fp))
630 avrule = avrule->next;
676 fprintf(out_fp, "--- begin avrule block ---\n");
829 printf("a) Display avrule requirements\n");
830 printf("b) Display avrule declarations\n");
945 fprintf(out_fp, "avrule block requirements:\n");
950 fprintf(out_fp, "avrule block declarations:\n");