Home
last modified time | relevance | path

Searched refs:context_destroy (Results 1 – 11 of 11) sorted by relevance

/external/libsepol/src/
Dusers.c52 context_destroy(&context); in user_to_record()
58 context_destroy(&context); in user_to_record()
62 context_destroy(&context); in user_to_record()
65 context_destroy(&context); in user_to_record()
76 context_destroy(&context); in user_to_record()
80 context_destroy(&context); in user_to_record()
83 context_destroy(&context); in user_to_record()
191 context_destroy(&context); in sepol_user_modify()
197 context_destroy(&context); in sepol_user_modify()
200 context_destroy(&context); in sepol_user_modify()
[all …]
Dinterfaces.c34 context_destroy(tmp_con); in iface_from_record()
43 context_destroy(tmp_con); in iface_from_record()
56 context_destroy(&tmp_iface->context[0]); in iface_from_record()
57 context_destroy(&tmp_iface->context[1]); in iface_from_record()
60 context_destroy(tmp_con); in iface_from_record()
192 context_destroy(&c->context[0]); in sepol_iface_modify()
193 context_destroy(&c->context[1]); in sepol_iface_modify()
211 context_destroy(&iface->context[0]); in sepol_iface_modify()
212 context_destroy(&iface->context[1]); in sepol_iface_modify()
Dports.c78 context_destroy(tmp_con); in port_from_record()
90 context_destroy(&tmp_port->context[0]); in port_from_record()
93 context_destroy(tmp_con); in port_from_record()
270 context_destroy(&port->context[0]); in sepol_port_modify()
Dnodes.c60 context_destroy(tmp_con); in node_from_record()
72 context_destroy(&tmp_node->context[0]); in node_from_record()
75 context_destroy(tmp_con); in node_from_record()
339 context_destroy(&node->context[0]); in sepol_node_modify()
Dsidtab.c111 context_destroy(&cur->context); in sepol_sidtab_remove()
193 context_destroy(&temp->context); in sepol_sidtab_map_remove_on_error()
300 context_destroy(&temp->context); in sepol_sidtab_destroy()
Dmls.c671 context_destroy(ctx1); in sepol_mls_contains()
672 context_destroy(ctx2); in sepol_mls_contains()
683 context_destroy(ctx1); in sepol_mls_contains()
684 context_destroy(ctx2); in sepol_mls_contains()
704 context_destroy(con); in sepol_mls_check()
Dcontext.c228 context_destroy(scontext); in context_from_record()
335 context_destroy(con); in sepol_context_check()
Dservices.c558 context_destroy(context); in sepol_context_to_sid()
564 context_destroy(context); in sepol_context_to_sid()
715 context_destroy(&newcontext); in sepol_compute_sid()
922 context_destroy(&oldc); in convert_context()
927 context_destroy(&oldc); in convert_context()
Dpolicydb.c1197 context_destroy(&ctmp->context[0]); in ocontext_selinux_free()
1198 context_destroy(&ctmp->context[1]); in ocontext_selinux_free()
1217 context_destroy(&ctmp->context[0]); in ocontext_xen_free()
1218 context_destroy(&ctmp->context[1]); in ocontext_xen_free()
1285 context_destroy(&ctmp->context[0]); in policydb_destroy()
1825 context_destroy(c); in context_read_and_validate()
2729 context_destroy(&newc->context[0]); in genfs_read()
2730 context_destroy(&newc->context[1]); in genfs_read()
/external/libsepol/include/sepol/policydb/
Dcontext.h81 static inline void context_destroy(context_struct_t * c) in context_destroy() function
/external/checkpolicy/
Dpolicy_define.c3726 context_destroy(c); in parse_security_context()
3809 context_destroy(&newc->context[0]); in define_fs_context()
3820 context_destroy(&newc->context[0]); in define_fs_context()
3821 context_destroy(&newc->context[1]); in define_fs_context()
4194 context_destroy(&newc->context[0]); in define_netif_context()
4205 context_destroy(&newc->context[0]); in define_netif_context()
4206 context_destroy(&newc->context[1]); in define_netif_context()
4438 context_destroy(&newc->context[0]); in define_fs_use()
4566 context_destroy(&newc->context[0]); in define_genfs_context_helper()