Home
last modified time | relevance | path

Searched refs:symlink (Results 1 – 25 of 88) sorted by relevance

1234

/systemd-251/test/units/
Dtestsuite-22.03.sh50 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 …]
Dtestsuite-29.sh55 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/
Dtest-fs-util.c45 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 …]
Dtest-mountpoint-util.c163 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()
Dtest-install-root.c42 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 …]
Dtest-stat-util.c52 assert_se(symlink(name, name_alias) >= 0); in TEST()
70 assert_se(symlink(name, name_link) >= 0); in TEST()
Dtest-mkdir.c23 assert_se(symlink("../run", p) >= 0); in TEST()
/systemd-251/test/
Dtest-systemd-tmpfiles.py151 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/
Dsystem-update-cleanup.service21 # 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/
Ddebug-generator.c104 if (symlink("/dev/null", p) < 0) in generate_mask_symlinks()
141 if (symlink(f, p) < 0) in generate_wants_symlinks()
/systemd-251/src/basic/
Dunit-file.c37 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()
Dunit-file.h34 int unit_symlink_name_compatible(const char *symlink, const char *target, bool instance_propagation…
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-watch-bind.c63 assert_se(symlink(suffixed2, d) >= 0); in thread_server()
66 assert_se(symlink(basename(suffixed), suffixed2) >= 0); in thread_server()
/systemd-251/src/boot/
Dbless-boot-generator.c65 if (symlink(SYSTEM_DATA_UNIT_DIR "/systemd-bless-boot.service", p) < 0) { in main()
/systemd-251/shell-completion/zsh/
D_udevadm7 …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/
Dsystem-update-generator.c33 if (symlink(SYSTEM_DATA_UNIT_DIR "/system-update.target", p) < 0) in generate_symlink()
/systemd-251/src/rc-local-generator/
Drc-local-generator.c32 if (symlink(from, to) < 0) { in add_symlink()
/systemd-251/network/
D80-wifi-ap.network.example7 # 1. add a symlink from /etc/systemd/network to the current location of this file,
D80-wifi-station.network.example7 # 1. add a symlink from /etc/systemd/network to the current location of this file,
D80-ethernet.network.example7 # 1. add a symlink from /etc/systemd/network to the current location of this file,
/systemd-251/src/shared/
Dlabel.c38 r = RET_NERRNO(symlink(old_path, new_path)); in symlink_label()
Dgenerator.c67 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/
Dhibernate-resume-generator.c88 if (symlink(SYSTEM_DATA_UNIT_DIR "/systemd-hibernate-resume@.service", lnk) < 0) in process_resume()
/systemd-251/src/udev/
Dudev-node.c58 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/
Drun-generator.c118 if (symlink("kernel-command-line.target", p) < 0) in generate()

1234