/external/libsepol/src/ |
interfaces.c | 18 context_struct_t *tmp_con = NULL; local 31 &tmp_con, sepol_iface_get_ifcon(record)) < 0) 33 context_cpy(&tmp_iface->context[0], tmp_con); 34 context_destroy(tmp_con); 35 free(tmp_con); 36 tmp_con = NULL; 40 &tmp_con, sepol_iface_get_msgcon(record)) < 0) 42 context_cpy(&tmp_iface->context[1], tmp_con); 43 context_destroy(tmp_con); 44 free(tmp_con); 75 sepol_context_t *tmp_con = NULL; local [all...] |
nodes.c | 20 context_struct_t *tmp_con = NULL; local 56 if (context_from_record(handle, policydb, &tmp_con, 59 context_cpy(&tmp_node->context[0], tmp_con); 60 context_destroy(tmp_con); 61 free(tmp_con); 62 tmp_con = NULL; 75 context_destroy(tmp_con); 76 free(tmp_con); 90 sepol_context_t *tmp_con = NULL; local 129 if (context_to_record(handle, policydb, con, &tmp_con) < 0 [all...] |
ports.c | 47 context_struct_t *tmp_con = NULL; local 74 if (context_from_record(handle, policydb, &tmp_con, 77 context_cpy(&tmp_port->context[0], tmp_con); 78 context_destroy(tmp_con); 79 free(tmp_con); 80 tmp_con = NULL; 93 context_destroy(tmp_con); 94 free(tmp_con); 111 sepol_context_t *tmp_con = NULL; local 124 if (context_to_record(handle, policydb, con, &tmp_con) < 0 [all...] |
context_record.c | 213 sepol_context_t *tmp_con = NULL; local 220 if (sepol_context_create(handle, &tmp_con) < 0) 238 if (sepol_context_set_user(handle, tmp_con, low) < 0) 247 if (sepol_context_set_role(handle, tmp_con, low) < 0) 253 if (sepol_context_set_type(handle, tmp_con, low) < 0) 257 if (sepol_context_set_type(handle, tmp_con, low) < 0) 260 if (sepol_context_set_mls(handle, tmp_con, low) < 0) 265 *con = tmp_con; 276 sepol_context_free(tmp_con);
|