Home
last modified time | relevance | path

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

/external/libselinux/src/
Dandroid.c1288 char *pathname = NULL, *pathdnamer = NULL, *pathdname, *pathbname; in selinux_android_restorecon_common() local
1307 pathbname = basename(pathname_orig); in selinux_android_restorecon_common()
1308 if (!strcmp(pathbname, "/") || !strcmp(pathbname, ".") || !strcmp(pathbname, "..")) { in selinux_android_restorecon_common()
1318 error = asprintf(&pathname, "/%s", pathbname); in selinux_android_restorecon_common()
1320 error = asprintf(&pathname, "%s/%s", pathdnamer, pathbname); in selinux_android_restorecon_common()