Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dcontext.c297 char *con_cpy = NULL; in context_from_string() local
301 con_cpy = malloc(con_str_len + 1); in context_from_string()
302 if (!con_cpy) in context_from_string()
304 memcpy(con_cpy, con_str, con_str_len); in context_from_string()
305 con_cpy[con_str_len] = '\0'; in context_from_string()
307 if (sepol_context_from_string(handle, con_cpy, &ctx_record) < 0) in context_from_string()
314 free(con_cpy); in context_from_string()
323 free(con_cpy); in context_from_string()