Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_file.c908 char *clean_key = NULL; in lookup_all() local
933 clean_key = (char *) malloc(strlen(key) + 1); in lookup_all()
934 if (!clean_key) in lookup_all()
938 memcpy(clean_key + sofar, prev_slash, next_slash - prev_slash); in lookup_all()
943 strcpy(clean_key + sofar, prev_slash); in lookup_all()
944 key = clean_key; in lookup_all()
1003 free(clean_key); in lookup_all()