/systemd-251/test/units/ |
D | testsuite-22.03.sh | 50 ln -s /tmp/file-owned-by-root /tmp/f/symlink 54 f /tmp/f/symlink 0644 daemon daemon - - 86 ln -s /root /tmp/f/daemon/unsafe-symlink 90 f /tmp/f/daemon/unsafe-symlink/exploit 0644 daemon daemon - - 92 test ! -e /tmp/f/daemon/unsafe-symlink/exploit 127 ln -s /tmp/file-owned-by-root /tmp/F/symlink 131 f /tmp/F/symlink 0644 daemon daemon - - 177 ln -s /root /tmp/F/daemon/unsafe-symlink 181 F /tmp/F/daemon/unsafe-symlink/exploit 0644 daemon daemon - - 183 test ! -e /tmp/F/daemon/unsafe-symlink/exploit [all …]
|
D | testsuite-29.sh | 55 portablectl "${ARGS[@]}" attach --copy=symlink --now --runtime /tmp/minimal_0 minimal-app0 134 portablectl "${ARGS[@]}" attach --copy=symlink --now --runtime /tmp/overlay app1 142 portablectl "${ARGS[@]}" attach --copy=symlink --now --runtime --extension /tmp/app0 --extension /t…
|
/systemd-251/src/test/ |
D | test-fs-util.c | 45 if (symlink(".", p) < 0) { in TEST() 52 assert_se(symlink("..", p) >= 0); in TEST() 55 assert_se(symlink("../a", p) >= 0); in TEST() 58 assert_se(symlink("b", p) >= 0); in TEST() 61 assert_se(symlink("/usr", p) >= 0); in TEST() 64 assert_se(symlink("top/dot/dotdota", p) >= 0); in TEST() 112 assert_se(symlink("/", p) >= 0); in TEST() 127 assert_se(symlink("../../..", p) >= 0); in TEST() 134 assert_se(symlink("../../../usr", p) >= 0); in TEST() 141 assert_se(symlink("../../../../usr", p) >= 0); in TEST() [all …]
|
D | test-mountpoint-util.c | 163 assert_se(symlink("file1", link1) == 0); in TEST() 166 assert_se(symlink("file2", link2) == 0); in TEST() 179 assert_se(symlink("dir1", dirlink1) == 0); in TEST() 182 assert_se(symlink("dirlink1/file", dirlink1file) == 0); in TEST()
|
D | test-install-root.c | 42 assert_se(symlink("a.service", p) >= 0); in TEST() 48 assert_se(symlink("/usr/lib/systemd/system/a.service", p) >= 0); in TEST() 54 assert_se(symlink("c.service", p) >= 0); in TEST() 163 assert_se(symlink("../../../../../../dev/null", p) >= 0); in TEST() 169 assert_se(symlink("/usr/../dev/null", p) >= 0); in TEST() 244 assert_se(symlink("/opt/linked2.service", p) >= 0); in TEST() 247 assert_se(symlink("/opt/linked3.service", p) >= 0); in TEST() 358 assert_se(symlink("test-default-real.target", p) >= 0); in TEST() 393 assert_se(symlink("real-add-dependency-test-target.target", p) >= 0); in TEST() 399 assert_se(symlink("real-add-dependency-test-service.service", p) >= 0); in TEST() [all …]
|
D | test-stat-util.c | 52 assert_se(symlink(name, name_alias) >= 0); in TEST() 70 assert_se(symlink(name, name_link) >= 0); in TEST()
|
D | test-mkdir.c | 23 assert_se(symlink("../run", p) >= 0); in TEST()
|
/systemd-251/test/ |
D | test-systemd-tmpfiles.py | 151 os.symlink(path, path + '/self', target_is_directory=True) 153 def symlink(parent, subpath): function 160 os.symlink(link_path, path, target_is_directory=True) 175 os.symlink(target, path, target_is_directory=True) 178 type_cbs = [None, file, mkdir, symlink]
|
/systemd-251/units/ |
D | system-update-cleanup.service | 21 # we need an alternate condition to cover the case of a dangling symlink. 28 # update script if it successfully removed the symlink and scheduled a
|
/systemd-251/src/debug-generator/ |
D | debug-generator.c | 104 if (symlink("/dev/null", p) < 0) in generate_mask_symlinks() 141 if (symlink(f, p) < 0) in generate_wants_symlinks()
|
/systemd-251/src/basic/ |
D | unit-file.c | 37 int unit_symlink_name_compatible(const char *symlink, const char *target, bool instance_propagation… in unit_symlink_name_compatible() argument 41 un_type1 = unit_name_classify(symlink); in unit_symlink_name_compatible() 44 if (streq(symlink, target) && in unit_symlink_name_compatible() 48 r = unit_name_template(symlink, &template); in unit_symlink_name_compatible()
|
D | unit-file.h | 34 int unit_symlink_name_compatible(const char *symlink, const char *target, bool instance_propagation…
|
/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-watch-bind.c | 63 assert_se(symlink(suffixed2, d) >= 0); in thread_server() 66 assert_se(symlink(basename(suffixed), suffixed2) >= 0); in thread_server()
|
/systemd-251/src/boot/ |
D | bless-boot-generator.c | 65 if (symlink(SYSTEM_DATA_UNIT_DIR "/systemd-bless-boot.service", p) < 0) { in main()
|
/systemd-251/shell-completion/zsh/ |
D | _udevadm | 7 …needs the --path or --name to identify the specified device.]:type:(name symlink path property all… 9 …'--name=[The name of the device node or a symlink to query]:device files:_files -P /dev/ -W /dev' \ 10 '--root[Print absolute paths in name or symlink query.]' \
|
/systemd-251/src/system-update-generator/ |
D | system-update-generator.c | 33 if (symlink(SYSTEM_DATA_UNIT_DIR "/system-update.target", p) < 0) in generate_symlink()
|
/systemd-251/src/rc-local-generator/ |
D | rc-local-generator.c | 32 if (symlink(from, to) < 0) { in add_symlink()
|
/systemd-251/network/ |
D | 80-wifi-ap.network.example | 7 # 1. add a symlink from /etc/systemd/network to the current location of this file,
|
D | 80-wifi-station.network.example | 7 # 1. add a symlink from /etc/systemd/network to the current location of this file,
|
D | 80-ethernet.network.example | 7 # 1. add a symlink from /etc/systemd/network to the current location of this file,
|
/systemd-251/src/shared/ |
D | label.c | 38 r = RET_NERRNO(symlink(old_path, new_path)); in symlink_label()
|
D | generator.c | 67 if (symlink(from, to) < 0) in generator_add_symlink() 188 if (symlink(SYSTEM_DATA_UNIT_DIR "/" SPECIAL_FSCK_ROOT_SERVICE, lnk) < 0) in generator_write_fsck_deps()
|
/systemd-251/src/hibernate-resume/ |
D | hibernate-resume-generator.c | 88 if (symlink(SYSTEM_DATA_UNIT_DIR "/systemd-hibernate-resume@.service", lnk) < 0) in process_resume()
|
/systemd-251/src/udev/ |
D | udev-node.c | 58 r = RET_NERRNO(symlink(target, slink)); in create_symlink() 400 if (symlink(data, filename) < 0) { in update_stack_directory() 777 r = symlink(devnode, p); in static_node_apply_permissions()
|
/systemd-251/src/run-generator/ |
D | run-generator.c | 118 if (symlink("kernel-command-line.target", p) < 0) in generate()
|