Searched refs:resolved_path (Results 1 – 5 of 5) sorted by relevance
/external/selinux/libselinux/src/ |
D | matchpathcon.c | 349 int realpath_not_final(const char *name, char *resolved_path) in realpath_not_final() argument 374 p = strcpy(resolved_path, ""); in realpath_not_final() 378 p = realpath(tmp_path, resolved_path); in realpath_not_final() 381 p = realpath("./", resolved_path); in realpath_not_final() 400 resolved_path += len; in realpath_not_final() 401 strcpy(resolved_path, "/"); in realpath_not_final() 402 resolved_path += 1; in realpath_not_final() 403 strcpy(resolved_path, last_component); in realpath_not_final()
|
/external/selinux/policycoreutils/sandbox/ |
D | seunshare.c | 753 char *resolved_path = NULL; in main() local 770 resolved_path = realpath(pwd->pw_dir,NULL); in main() 771 if (! resolved_path) goto childerr; in main() 773 if (verify_directory(resolved_path, NULL, &st_curhomedir) < 0) in main() 775 if (check_owner_uid(uid, resolved_path, &st_curhomedir) < 0) in main() 779 if (homedir_s && seunshare_mount(homedir_s, resolved_path, in main() 851 free(resolved_path); in main()
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 229 INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { in INTERCEPTOR() argument 231 return REAL(realpath)(path, resolved_path); in INTERCEPTOR()
|
/external/selinux/libselinux/include/selinux/ |
D | selinux.h | 452 extern int realpath_not_final(const char *name, char *resolved_path);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 2798 INTERCEPTOR(char *, realpath, const char *path, char *resolved_path) { 2800 COMMON_INTERCEPTOR_ENTER(ctx, realpath, path, resolved_path); 2808 if (!resolved_path) 2809 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1); 2811 char *res = REAL(realpath)(path, resolved_path);
|