Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dcontext.c297 char *con_cpy = NULL; in context_from_string() local
306 con_cpy = malloc(con_str_len + 1); in context_from_string()
307 if (!con_cpy) { in context_from_string()
312 memcpy(con_cpy, con_str, con_str_len); in context_from_string()
313 con_cpy[con_str_len] = '\0'; in context_from_string()
315 if (sepol_context_from_string(handle, con_cpy, &ctx_record) < 0) in context_from_string()
322 free(con_cpy); in context_from_string()
328 free(con_cpy); in context_from_string()