Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_mem.h37 char *cil_strdup(const char *str);
Dcil_mem.c77 char *cil_strdup(const char *str) in cil_strdup() function
Dcil_binary.c253 key = cil_strdup(cil_common->datum.fqn); in cil_common_to_policydb()
271 key = cil_strdup(curr->datum.fqn); in cil_common_to_policydb()
306 key = cil_strdup(cil_class->datum.fqn); in cil_classorder_to_policydb()
335 sepol_class->comkey = cil_strdup(key); in cil_classorder_to_policydb()
349 key = cil_strdup(cil_perm->datum.fqn); in cil_classorder_to_policydb()
383 key = cil_strdup(cil_role->datum.fqn); in cil_role_to_policydb()
467 key = cil_strdup(cil_type->datum.fqn); in cil_type_to_policydb()
522 key = cil_strdup(cil_alias->datum.fqn); in cil_typealias_to_policydb()
576 key = cil_strdup(cil_attr->datum.fqn); in cil_typeattribute_to_policydb()
689 key = cil_strdup(cil_user->datum.fqn); in cil_user_to_policydb()
[all …]
Dcil_strpool.c79 strpool_ref->str = cil_strdup(str); in cil_strpool_add()
Dcil_resolve_ast.c4170 char *name_dup = cil_strdup(name); in cil_resolve_name_keep_aliases()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c75 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list()
76 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list()
80 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list()
106 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list_currnull_neg()
107 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list_currnull_neg()
111 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list_currnull_neg()
137 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list_listnull_neg()
138 test_avrule->tgt_str = cil_strdup(test_current->next->next->data); in test_cil_parse_to_list_listnull_neg()
142 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list_listnull_neg()
DCilTest.c115 item->data = cil_strdup(*i); in gen_test_tree()