Home
last modified time | relevance | path

Searched refs:tmp_iface (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dinterfaces.c17 ocontext_t *tmp_iface = NULL; in iface_from_record() local
20 tmp_iface = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in iface_from_record()
21 if (!tmp_iface) in iface_from_record()
25 tmp_iface->u.name = strdup(sepol_iface_get_name(record)); in iface_from_record()
26 if (!tmp_iface->u.name) in iface_from_record()
33 context_cpy(&tmp_iface->context[0], tmp_con); in iface_from_record()
42 context_cpy(&tmp_iface->context[1], tmp_con); in iface_from_record()
47 *iface = tmp_iface; in iface_from_record()
54 if (tmp_iface != NULL) { in iface_from_record()
55 free(tmp_iface->u.name); in iface_from_record()
[all …]
Diface_record.c100 sepol_iface_t *tmp_iface = in sepol_iface_create() local
103 if (!tmp_iface) { in sepol_iface_create()
109 tmp_iface->name = NULL; in sepol_iface_create()
110 tmp_iface->netif_con = NULL; in sepol_iface_create()
111 tmp_iface->netmsg_con = NULL; in sepol_iface_create()
112 *iface = tmp_iface; in sepol_iface_create()