/systemd-251/src/sysext/ |
D | sysext.c | 131 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/ |
D | switch-root.c | 53 …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()
|
D | discover-image.c | 449 r = chase_symlinks_and_opendir(path, root, CHASE_PREFIX_ROOT, &resolved, &d); in image_find() 547 r = chase_symlinks_and_opendir(path, root, CHASE_PREFIX_ROOT, &resolved, &d); in image_discover() 1135 … 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()
|
D | uid-alloc-range.c | 42 r = chase_symlinks_and_fopen_unlocked(path, root, CHASE_PREFIX_ROOT, "re", NULL, &f); in read_login_defs()
|
D | specifier.c | 164 …fd = chase_symlinks_and_open("/etc/machine-id", root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC|O_NOCT… in specifier_machine_id()
|
D | dissect-image.c | 1340 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() 2673 … fd = chase_symlinks_and_open(p, t, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC|O_NOCTTY, NULL); in dissected_image_acquire_metadata()
|
/systemd-251/src/test/ |
D | test-chase-symlinks.c | 24 { "prefix-root", no_argument, NULL, CHASE_PREFIX_ROOT }, in parse_argv() 60 case CHASE_PREFIX_ROOT: in parse_argv()
|
D | test-fs-util.c | 208 r = chase_symlinks("/../.././//../../etc", "/", CHASE_PREFIX_ROOT, &result, NULL); in TEST() 213 …r = chase_symlinks("/../.././//../../test-chase.fsldajfl", "/", CHASE_PREFIX_ROOT|CHASE_NONEXISTEN… in TEST()
|
/systemd-251/src/basic/ |
D | os-util.c | 72 r = chase_symlinks(extension_full_path, root, CHASE_PREFIX_ROOT, in open_extension_release() 86 … r = chase_symlinks_and_opendir("/usr/lib/extension-release.d/", root, CHASE_PREFIX_ROOT, in open_extension_release() 180 r = chase_symlinks(path, root, CHASE_PREFIX_ROOT, in open_extension_release()
|
D | chase-symlinks.h | 10 …CHASE_PREFIX_ROOT = 1 << 0, /* The specified path will be prefixed by the specified root before be… enumerator
|
D | chase-symlinks.c | 88 if (FLAGS_SET(flags, CHASE_PREFIX_ROOT) && !path_is_absolute(path)) in chase_symlinks() 167 if (flags & CHASE_PREFIX_ROOT) { in chase_symlinks()
|
D | mkdir.c | 219 … dfd = chase_symlinks_and_open(pp, root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC|O_DIRECTORY, NULL); in mkdir_p_root()
|
D | stat-util.c | 155 r = chase_symlinks_and_stat(fn, root, CHASE_PREFIX_ROOT, NULL, &st, NULL); in null_or_empty_path_with_root()
|
D | path-util.c | 609 CHASE_PREFIX_ROOT, in find_executable_impl()
|
/systemd-251/src/nspawn/ |
D | nspawn-mount.c | 592 … 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() 877 r = chase_symlinks_and_stat(m->destination, dest, CHASE_PREFIX_ROOT, &where, &st, NULL); in mount_inaccessible() 907 r = chase_symlinks(m->destination, dest, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &where, NULL); in mount_arbitrary()
|
D | nspawn-bind-user.c | 24 …r = chase_symlinks_and_fopen_unlocked("/etc/passwd", directory, CHASE_PREFIX_ROOT, "re", NULL, &f); in check_etc_passwd_collisions() 57 … r = chase_symlinks_and_fopen_unlocked("/etc/group", directory, CHASE_PREFIX_ROOT, "re", NULL, &f); in check_etc_group_collisions()
|
/systemd-251/src/tmpfiles/ |
D | offline-passwd.c | 15 fd = chase_symlinks_and_open(fname, root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC, &p); in open_passwd_file()
|
/systemd-251/src/volatile-root/ |
D | volatile-root.c | 24 r = chase_symlinks("/usr", path, CHASE_PREFIX_ROOT, &old_usr, NULL); in make_volatile()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-resource.c | 555 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()
|
D | sysupdate-transfer.c | 1222 … r = chase_symlinks(link_path, root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved, NULL); in transfer_install_instance()
|
D | sysupdate.c | 1117 r = chase_symlinks_and_opendir(*i, arg_root, CHASE_PREFIX_ROOT, &p, &d); in verb_components()
|
/systemd-251/src/dissect/ |
D | dissect.c | 708 …source_fd = chase_symlinks_and_open(arg_source, mounted_dir, CHASE_PREFIX_ROOT|CHASE_WARN, O_RDONL… in action_copy() 761 r = chase_symlinks(dn, mounted_dir, CHASE_PREFIX_ROOT|CHASE_WARN, NULL, &dfd); in action_copy()
|
/systemd-251/src/partition/ |
D | repart.c | 2826 …sfd = chase_symlinks_and_open(*source, arg_root, CHASE_PREFIX_ROOT|CHASE_WARN, O_CLOEXEC|O_NOCTTY,… in do_copy_files() 2836 …tfd = chase_symlinks_and_open(*target, fs, CHASE_PREFIX_ROOT|CHASE_WARN, O_RDONLY|O_DIRECTORY|O_CL… in do_copy_files() 2855 …pfd = chase_symlinks_and_open(dn, fs, CHASE_PREFIX_ROOT|CHASE_WARN, O_RDONLY|O_DIRECTORY|O_CLOEXEC… in do_copy_files() 2892 …pfd = chase_symlinks_and_open(dn, fs, CHASE_PREFIX_ROOT|CHASE_WARN, O_RDONLY|O_DIRECTORY|O_CLOEXEC… in do_copy_files() 3559 …fd = chase_symlinks_and_open("/etc/machine-id", root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC, NULL); in context_read_seed() 3783 r = chase_symlinks(path, root, CHASE_PREFIX_ROOT, &resolved, NULL); in find_backing_devno() 3958 …source_fd = chase_symlinks_and_open(p->copy_blocks_path, root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEX… in context_open_copy_block_paths() 4486 fd = chase_symlinks_and_open(p, root, CHASE_PREFIX_ROOT, mode, &found_path); in acquire_root_devno()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 627 CHASE_PREFIX_ROOT | CHASE_NONEXISTENT, in parse_fstab()
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 674 r = chase_symlinks(path, root, CHASE_PREFIX_ROOT, NULL, NULL); in find_shell()
|