Searched refs:pathname_orig (Results 1 – 2 of 2) sorted by relevance
/external/selinux/libselinux/src/ |
D | selinux_restorecon.c | 1009 static int selinux_restorecon_common(const char *pathname_orig, in selinux_restorecon_common() argument 1104 char *basename_cpy = strdup(pathname_orig); in selinux_restorecon_common() 1110 pathname = realpath(pathname_orig, NULL); in selinux_restorecon_common() 1120 char *dirname_cpy = strdup(pathname_orig); in selinux_restorecon_common() 1147 pathname = strdup(pathname_orig); in selinux_restorecon_common() 1330 pathname_orig); in selinux_restorecon_common() 1348 int selinux_restorecon(const char *pathname_orig, in selinux_restorecon() argument 1351 return selinux_restorecon_common(pathname_orig, restorecon_flags, 1); in selinux_restorecon() 1355 int selinux_restorecon_parallel(const char *pathname_orig, in selinux_restorecon_parallel() argument 1359 return selinux_restorecon_common(pathname_orig, restorecon_flags, nthreads); in selinux_restorecon_parallel()
|
/external/selinux/libselinux/src/android/ |
D | android_device.c | 607 static int selinux_android_restorecon_common(const char* pathname_orig, in selinux_android_restorecon_common() argument 648 pathbname = basename(pathname_orig); in selinux_android_restorecon_common() 650 pathname = realpath(pathname_orig, NULL); in selinux_android_restorecon_common() 654 pathdname = dirname(pathname_orig); in selinux_android_restorecon_common() 823 pathname_orig, strerror(errno)); in selinux_android_restorecon_common()
|