Home
last modified time | relevance | path

Searched refs:CHASE_PREFIX_ROOT (Results 1 – 25 of 28) sorted by relevance

12

/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()
Ddiscover-image.c449 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()
Duid-alloc-range.c42 r = chase_symlinks_and_fopen_unlocked(path, root, CHASE_PREFIX_ROOT, "re", NULL, &f); in read_login_defs()
Dspecifier.c164 …fd = chase_symlinks_and_open("/etc/machine-id", root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC|O_NOCT… in specifier_machine_id()
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()
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/
Dtest-chase-symlinks.c24 { "prefix-root", no_argument, NULL, CHASE_PREFIX_ROOT }, in parse_argv()
60 case CHASE_PREFIX_ROOT: in parse_argv()
Dtest-fs-util.c208 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/
Dos-util.c72 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()
Dchase-symlinks.h10CHASE_PREFIX_ROOT = 1 << 0, /* The specified path will be prefixed by the specified root before be… enumerator
Dchase-symlinks.c88 if (FLAGS_SET(flags, CHASE_PREFIX_ROOT) && !path_is_absolute(path)) in chase_symlinks()
167 if (flags & CHASE_PREFIX_ROOT) { in chase_symlinks()
Dmkdir.c219 … dfd = chase_symlinks_and_open(pp, root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC|O_DIRECTORY, NULL); in mkdir_p_root()
Dstat-util.c155 r = chase_symlinks_and_stat(fn, root, CHASE_PREFIX_ROOT, NULL, &st, NULL); in null_or_empty_path_with_root()
Dpath-util.c609 CHASE_PREFIX_ROOT, in find_executable_impl()
/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()
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()
Dnspawn-bind-user.c24 …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/
Doffline-passwd.c15 fd = chase_symlinks_and_open(fname, root, CHASE_PREFIX_ROOT, O_RDONLY|O_CLOEXEC, &p); in open_passwd_file()
/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()
Dsysupdate-transfer.c1222 … r = chase_symlinks(link_path, root, CHASE_PREFIX_ROOT|CHASE_NONEXISTENT, &resolved, NULL); in transfer_install_instance()
Dsysupdate.c1117 r = chase_symlinks_and_opendir(*i, arg_root, CHASE_PREFIX_ROOT, &p, &d); in verb_components()
/systemd-251/src/dissect/
Ddissect.c708 …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/
Drepart.c2826 …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/
Dfstab-generator.c627 CHASE_PREFIX_ROOT | CHASE_NONEXISTENT, in parse_fstab()
/systemd-251/src/firstboot/
Dfirstboot.c674 r = chase_symlinks(path, root, CHASE_PREFIX_ROOT, NULL, NULL); in find_shell()

12