Searched refs:typeperm (Results 1 – 7 of 7) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_tree.c | 990 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()
|
D | cil.c | 2030 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()
|
D | cil_build_ast.h | 143 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm);
|
D | cil_build_ast.c | 3216 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()
|
D | cil_policy.c | 970 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()
|
D | cil_internal.h | 965 void cil_typepermissive_init(struct cil_typepermissive **typeperm);
|
D | cil_resolve_ast.c | 536 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()
|