Lines Matching refs:avrule
4397 avrule_t *avrule; in __cil_init_sepol_avrule() local
4402 avrule = cil_malloc(sizeof(avrule_t)); in __cil_init_sepol_avrule()
4403 avrule->specified = kind; in __cil_init_sepol_avrule()
4404 avrule->flags = 0; in __cil_init_sepol_avrule()
4405 __cil_init_sepol_type_set(&avrule->stypes); in __cil_init_sepol_avrule()
4406 __cil_init_sepol_type_set(&avrule->ttypes); in __cil_init_sepol_avrule()
4407 avrule->perms = NULL; in __cil_init_sepol_avrule()
4408 avrule->line = node->line; in __cil_init_sepol_avrule()
4410 avrule->source_filename = NULL; in __cil_init_sepol_avrule()
4411 avrule->source_line = node->line; in __cil_init_sepol_avrule()
4414 avrule->source_filename = source_path; in __cil_init_sepol_avrule()
4416 avrule->source_line = node->hll_line; in __cil_init_sepol_avrule()
4420 avrule->next = NULL; in __cil_init_sepol_avrule()
4421 return avrule; in __cil_init_sepol_avrule()
4494 static void __cil_print_rule(const char *pad, const char *kind, struct cil_avrule *avrule) in __cil_print_rule() argument
4497 cil_log(CIL_ERR,"%s %s ", DATUM(avrule->src)->fqn, DATUM(avrule->tgt)->fqn); in __cil_print_rule()
4499 if (!avrule->is_extended) { in __cil_print_rule()
4500 __cil_print_classperm(avrule->perms.classperms); in __cil_print_rule()
4503 __cil_print_permissionx(avrule->perms.x.permx); in __cil_print_rule()