Searched refs:pathdnamer (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libselinux/src/android/ |
D | android_device.c | 625 char *pathname = NULL, *pathdnamer = NULL, *pathdname, *pathbname; in selinux_android_restorecon_common() local 655 pathdnamer = realpath(pathdname, NULL); in selinux_android_restorecon_common() 656 if (!pathdnamer) in selinux_android_restorecon_common() 658 if (!strcmp(pathdnamer, "/")) in selinux_android_restorecon_common() 661 error = asprintf(&pathname, "%s/%s", pathdnamer, pathbname); in selinux_android_restorecon_common() 804 free(pathdnamer); in selinux_android_restorecon_common()
|
/external/selinux/libselinux/src/ |
D | selinux_restorecon.c | 1060 char *pathname = NULL, *pathdnamer = NULL, *pathdname, *pathbname; in selinux_restorecon_common() local 1126 pathdnamer = realpath(pathdname, NULL); in selinux_restorecon_common() 1128 if (!pathdnamer) { in selinux_restorecon_common() 1135 if (!strcmp(pathdnamer, "/")) in selinux_restorecon_common() 1139 pathdnamer, pathbname); in selinux_restorecon_common() 1156 free(pathdnamer); in selinux_restorecon_common() 1309 free(pathdnamer); in selinux_restorecon_common()
|