Home
last modified time | relevance | path

Searched refs:chase_symlinks (Results 1 – 25 of 42) sorted by relevance

12

/systemd-251/src/test/
Dtest-fs-util.c30 TEST(chase_symlinks) { in TEST() argument
68 r = chase_symlinks(p, NULL, 0, &result, NULL); in TEST()
74 r = chase_symlinks(pslash, NULL, 0, &result, NULL); in TEST()
79 r = chase_symlinks(p, temp, 0, &result, NULL); in TEST()
82 r = chase_symlinks(pslash, temp, 0, &result, NULL); in TEST()
87 r = chase_symlinks(p, temp, CHASE_NONEXISTENT, &result, NULL); in TEST()
94 r = chase_symlinks(pslash, temp, CHASE_NONEXISTENT, &result, NULL); in TEST()
101 r = chase_symlinks(p, temp, 0, &result, NULL); in TEST()
106 r = chase_symlinks(pslash, temp, 0, &result, NULL); in TEST()
114 r = chase_symlinks(p, NULL, 0, &result, NULL); in TEST()
[all …]
Dtest-chase-symlinks.c100 r = chase_symlinks(argv[i], arg_root, arg_flags, &p, arg_open ? &fd : NULL); in run()
Dtest-copy.c161 assert_se(chase_symlinks(l, NULL, 0, &target, NULL) == 1); in TEST()
/systemd-251/src/sysext/
Dsysext.c131 r = chase_symlinks(*p, arg_root, CHASE_PREFIX_ROOT, &resolved, NULL); in unmerge()
175 r = chase_symlinks(*p, arg_root, CHASE_PREFIX_ROOT, &resolved, NULL); in verb_status()
293 r = chase_symlinks(hierarchy, arg_root, CHASE_PREFIX_ROOT, &resolved_hierarchy, NULL); in merge_hierarchy()
332 r = chase_symlinks(hierarchy, *p, CHASE_PREFIX_ROOT, &resolved, NULL); in merge_hierarchy()
424 r = chase_symlinks("/usr/lib/os-release", root, CHASE_PREFIX_ROOT, NULL, NULL); in validate_version()
655 … r = chase_symlinks(*h, arg_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved, NULL); in merge_subprocess()
697 … r = chase_symlinks(*h, arg_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved, NULL); in merge_subprocess()
784 r = chase_symlinks(*p, arg_root, CHASE_PREFIX_ROOT, &resolved, NULL); in verb_merge()
/systemd-251/src/shared/
Dswitch-root.c53 …r = chase_symlinks(old_root_after, new_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved_old_ro… in switch_root()
69 … r = chase_symlinks(path, new_root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &chased, NULL); in switch_root()
Ddropin.c108 r = chase_symlinks(path, original_root, 0, &chased, NULL); in unit_file_add_dir()
Ddiscover-image.c1135 … r = chase_symlinks("/etc/hostname", i->path, CHASE_PREFIX_ROOT|CHASE_TRAIL_SLASH, &path, NULL); in image_read_metadata()
1146 … r = chase_symlinks("/etc/machine-id", i->path, CHASE_PREFIX_ROOT|CHASE_TRAIL_SLASH, &path, NULL); in image_read_metadata()
1164 …r = chase_symlinks("/etc/machine-info", i->path, CHASE_PREFIX_ROOT|CHASE_TRAIL_SLASH, &path, NULL); in image_read_metadata()
Dspecifier.c137 return chase_symlinks(path, root, 0, ret, NULL); in specifier_real_path()
Ddissect-image.c1340 r = chase_symlinks(directory, where, CHASE_PREFIX_ROOT, &chased, NULL); in mount_partition()
1543 r = chase_symlinks("/efi", where, CHASE_PREFIX_ROOT, NULL, NULL); in dissected_image_mount()
1553 r = chase_symlinks("/boot", where, CHASE_PREFIX_ROOT, &p, NULL); in dissected_image_mount()
2654 r = chase_symlinks(init, t, CHASE_PREFIX_ROOT, NULL, NULL); in dissected_image_acquire_metadata()
/systemd-251/src/basic/
Dchase-symlinks.c60 int chase_symlinks( in chase_symlinks() function
432 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_open()
474 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_opendir()
516 r = chase_symlinks(path, root, chase_flags, ret_path ? &p : NULL, &path_fd); in chase_symlinks_and_stat()
Dos-util.c72 r = chase_symlinks(extension_full_path, root, CHASE_PREFIX_ROOT, in open_extension_release()
175 r = chase_symlinks(var, root, 0, in open_extension_release()
180 r = chase_symlinks(path, root, CHASE_PREFIX_ROOT, in open_extension_release()
Dchase-symlinks.h26 int chase_symlinks(const char *path_with_prefix, const char *root, ChaseSymlinksFlags chase_flags, …
Ddevnum-util.c92 return chase_symlinks(p, NULL, 0, ret, NULL); in device_path_make_canonical()
Dunit-file.c324 r = chase_symlinks(target, root_dir, CHASE_NOFOLLOW | CHASE_NONEXISTENT, &simplified, NULL); in unit_file_resolve_symlink()
434 r = chase_symlinks(*dir, NULL, 0, &resolved_dir, NULL); in unit_file_build_name_map()
Dpath-util.c264 r = chase_symlinks(t, root, 0, &u, NULL); in path_strv_resolve()
607 r = chase_symlinks(name, in find_executable_impl()
Dmountpoint-util.c325 r = chase_symlinks(t, root, CHASE_TRAIL_SLASH, &canonical, NULL); in path_is_mount_point()
/systemd-251/src/nspawn/
Dnspawn-mount.c592 … r = chase_symlinks(mount_table[k].where, dest, CHASE_NONEXISTENT|CHASE_PREFIX_ROOT, &where, NULL); in mount_all()
651 … r = chase_symlinks(mount_table[k].what, dest, CHASE_PREFIX_ROOT, &prefixed, NULL); in mount_all()
733 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_bind()
795 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_tmpfs()
835 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_overlay()
907 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_arbitrary()
Dnspawn.c1945 r = chase_symlinks("/etc", dest, CHASE_PREFIX_ROOT, &etc, NULL); in setup_timezone()
1976 r = chase_symlinks(check, dest, 0, NULL, NULL); in setup_timezone()
2003 found = chase_symlinks(where, dest, CHASE_NONEXISTENT, &resolved, NULL); in setup_timezone()
2110 r = chase_symlinks("/etc", dest, CHASE_PREFIX_ROOT, &etc, NULL); in setup_resolv_conf()
2138 found = chase_symlinks(where, dest, CHASE_NONEXISTENT, &resolved, NULL); in setup_resolv_conf()
3080 r = chase_symlinks(*p, NULL, flags, &chased, NULL); in chase_symlinks_and_update()
/systemd-251/src/delta/
Ddelta.c77 r = chase_symlinks(a, NULL, CHASE_TRAIL_SLASH, &x, NULL); in equivalent()
81 r = chase_symlinks(b, NULL, CHASE_TRAIL_SLASH, &y, NULL); in equivalent()
377 if (chase_symlinks(dirname, NULL, 0, &target, NULL) < 0) in should_skip_path()
/systemd-251/src/volatile-root/
Dvolatile-root.c24 r = chase_symlinks("/usr", path, CHASE_PREFIX_ROOT, &old_usr, NULL); in make_volatile()
/systemd-251/src/sysupdate/
Dsysupdate-resource.c555 r = chase_symlinks(rr->path, root, CHASE_PREFIX_ROOT, &resolved, &fd); in resource_resolve_path()
591 r = chase_symlinks(rr->path, root, CHASE_PREFIX_ROOT, &resolved, NULL); in resource_resolve_path()
/systemd-251/src/mount/
Dmount-tool.c385 r = chase_symlinks(u, NULL, 0, &arg_mount_what, NULL); in parse_argv()
402 … r = chase_symlinks(argv[optind+1], NULL, CHASE_NONEXISTENT, &arg_mount_where, NULL); in parse_argv()
1006 r = chase_symlinks(u, NULL, 0, &p, NULL); in action_umount()
/systemd-251/src/systemctl/
Dsystemctl-util.c398 r = chase_symlinks(path, arg_root, 0, &lpath, NULL); in unit_file_find_path()
/systemd-251/src/dissect/
Ddissect.c761 r = chase_symlinks(dn, mounted_dir, CHASE_PREFIX_ROOT|CHASE_WARN, NULL, &dfd); in action_copy()
/systemd-251/src/fstab-generator/
Dfstab-generator.c626 k = chase_symlinks(where, initrd ? "/sysroot" : NULL, in parse_fstab()

12