Home
last modified time | relevance | path

Searched refs:typeperm (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_tree.c990 struct cil_typepermissive *typeperm = node->data; in cil_tree_print_node() local
992 if (typeperm->type != NULL) { in cil_tree_print_node()
993 cil_log(CIL_INFO, "TYPEPERMISSIVE: %s\n", ((struct cil_symtab_datum *)typeperm->type)->name); in cil_tree_print_node()
995 cil_log(CIL_INFO, "TYPEPERMISSIVE: %s\n", typeperm->type_str); in cil_tree_print_node()
Dcil.c2030 void cil_typepermissive_init(struct cil_typepermissive **typeperm) in cil_typepermissive_init() argument
2032 *typeperm = cil_malloc(sizeof(**typeperm)); in cil_typepermissive_init()
2034 (*typeperm)->type_str = NULL; in cil_typepermissive_init()
2035 (*typeperm)->type = NULL; in cil_typepermissive_init()
Dcil_build_ast.h143 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm);
Dcil_build_ast.c3216 struct cil_typepermissive *typeperm = NULL; in cil_gen_typepermissive() local
3228 cil_typepermissive_init(&typeperm); in cil_gen_typepermissive()
3230 typeperm->type_str = parse_current->next->data; in cil_gen_typepermissive()
3232 ast_node->data = typeperm; in cil_gen_typepermissive()
3240 cil_destroy_typepermissive(typeperm); in cil_gen_typepermissive()
3244 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm) in cil_destroy_typepermissive() argument
3246 if (typeperm == NULL) { in cil_destroy_typepermissive()
3250 free(typeperm); in cil_destroy_typepermissive()
Dcil_policy.c970 struct cil_typepermissive *typeperm = (struct cil_typepermissive*)current->data; in cil_name_to_policy() local
971 …fprintf(file_arr[TYPEATTRTYPES], "permissive %s;\n", ((struct cil_symtab_datum*)typeperm->type)->n… in cil_name_to_policy()
Dcil_internal.h965 void cil_typepermissive_init(struct cil_typepermissive **typeperm);
Dcil_resolve_ast.c536 struct cil_typepermissive *typeperm = current->data; in cil_resolve_typepermissive() local
541 rc = cil_resolve_name(current, typeperm->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_typepermissive()
554 typeperm->type = type_datum; in cil_resolve_typepermissive()