Home
last modified time | relevance | path

Searched refs:clean_key (Results 1 - 1 of 1) sorted by relevance

/third_party/selinux/libselinux/src/
H A Dlabel_file.c933 char *clean_key = NULL; in lookup_all() local
958 clean_key = (char *) malloc(strlen(key) + 1); in lookup_all()
959 if (!clean_key) in lookup_all()
963 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup_all()
968 strcpy(clean_key + sofar, prev_slash); in lookup_all()
969 key = clean_key; in lookup_all()
980 /* reuse clean_key from above if available */ in lookup_all()
981 if (!clean_key) { in lookup_all()
982 clean_key = (char *) malloc(len); in lookup_all()
983 if (!clean_key) in lookup_all()
[all...]

Completed in 2 milliseconds