/systemd-251/test/units/ |
D | testsuite-22.03.sh | 61 mkdir /tmp/f/rw-fs 62 mkdir /tmp/f/ro-fs 64 touch /tmp/f/rw-fs/foo 65 chmod 644 /tmp/f/rw-fs/foo 67 mount -o bind,ro /tmp/f/rw-fs /tmp/f/ro-fs 70 f /tmp/f/ro-fs/foo 0644 - - - - This string should not be written 72 test -f /tmp/f/ro-fs/foo; test ! -s /tmp/f/ro-fs/foo 75 f /tmp/f/ro-fs/foo 0666 - - - - 80 f /tmp/f/ro-fs/bar 0644 - - - - 82 test ! -e /tmp/f/ro-fs/bar [all …]
|
D | testsuite-38.sh | 106 grep -q "frozen $2" /sys/fs/cgroup/system.slice/"$1"/cgroup.events 229 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/cgroup.events 230 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/"${unit}"/cgroup.events 237 grep -q "frozen 0" /sys/fs/cgroup/"${slice}"/cgroup.events 238 grep -q "frozen 0" /sys/fs/cgroup/"${slice}"/"${unit}"/cgroup.events 256 echo 1 >/sys/fs/cgroup/"${slice}"/cgroup.freeze 265 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/cgroup.events 266 grep -q "frozen 1" /sys/fs/cgroup/"${slice}"/"${unit}"/cgroup.events 270 echo 0 >/sys/fs/cgroup/"${slice}"/cgroup.freeze 275 grep -q "frozen 0" /sys/fs/cgroup/"${slice}"/cgroup.events [all …]
|
D | testsuite-19.sh | 8 test -w /sys/fs/cgroup/system.slice/test0.service/ -a \ 9 -w /sys/fs/cgroup/system.slice/test0.service/cgroup.procs -a \ 10 -w /sys/fs/cgroup/system.slice/test0.service/cgroup.subtree_control 13 grep -q memory /sys/fs/cgroup/system.slice/test1.service/cgroup.controllers 16 grep -q pids /sys/fs/cgroup/system.slice/test2.service/cgroup.controllers 19 grep -qv io /sys/fs/cgroup/system.slice/cgroup.controllers 23 …grep -q io /sys/fs/cgroup/system.slice/system-foo.slice/system-foo-bar.slice/system-foo-bar-baz.sl… 33 grep -qv io /sys/fs/cgroup/system.slice/cgroup.controllers
|
D | autorelabel.service | 5 Requires=local-fs.target 7 After=local-fs.target 13 ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && fixfiles -f -F relabel && rm /.autorelabel &…
|
/systemd-251/src/basic/ |
D | cgroup-util.c | 42 _cleanup_free_ char *fs = NULL; in cg_enumerate_items() local 48 r = cg_get_path(controller, path, item, &fs); in cg_enumerate_items() 52 f = fopen(fs, "re"); in cg_enumerate_items() 181 _cleanup_free_ char *fs = NULL; in cg_enumerate_subgroups() local 189 r = cg_get_path(controller, path, NULL, &fs); in cg_enumerate_subgroups() 193 d = opendir(fs); in cg_enumerate_subgroups() 584 int cg_get_path_and_check(const char *controller, const char *path, const char *suffix, char **fs) { in cg_get_path_and_check() argument 588 assert(fs); in cg_get_path_and_check() 608 return cg_get_path(controller, path, suffix, fs); in cg_get_path_and_check() 612 _cleanup_free_ char *fs = NULL; in cg_set_xattr() local [all …]
|
D | check-filesystems.sh | 18 for fs in $($cpp -dM $includes - </dev/null | \ 22 if ! grep -E "\{.*$fs.*\}" "$filesystems_gperf" >/dev/null; then 26 if [[ "$fs" =~ ^(STACK_END_MAGIC|MTD_INODE_FS_MAGIC|FUTEXFS_SUPER_MAGIC)$ ]]; then 29 echo "Filesystem found in kernel header but not in $(basename "$filesystems_gperf"): $fs";
|
D | filesystems.c | 31 const char *fs; in fs_in_group() local 34 NULSTR_FOREACH(fs, filesystem_sets[fs_group].value) { in fs_in_group() 37 r = fs_type_from_string(fs, &magic); in fs_in_group()
|
/systemd-251/src/shared/ |
D | cgroup-setup.c | 236 _cleanup_free_ char *fs = NULL; in cg_trim() local 242 r = cg_get_path(controller, path, NULL, &fs); in cg_trim() 248 fs, in cg_trim() 263 rmdir(fs) < 0 && errno != ENOENT) { in cg_trim() 283 _cleanup_free_ char *fs = NULL; in cg_create() local 286 r = cg_get_path_and_check(controller, path, NULL, &fs); in cg_create() 290 r = mkdir_parents(fs, 0755); in cg_create() 294 r = RET_NERRNO(mkdir(fs, 0755)); in cg_create() 331 _cleanup_free_ char *fs = NULL; in cg_attach() local 338 r = cg_get_path_and_check(controller, path, "cgroup.procs", &fs); in cg_attach() [all …]
|
D | mount-util.c | 104 struct libmnt_fs *fs; in umount_recursive() local 107 r = mnt_table_next_fs(table, iter, &fs); in umount_recursive() 113 path = mnt_fs_get_target(fs); in umount_recursive() 243 struct libmnt_fs *fs; in bind_remount_recursive_with_mountinfo() local 245 r = mnt_table_next_fs(table, iter, &fs); in bind_remount_recursive_with_mountinfo() 251 path = mnt_fs_get_target(fs); in bind_remount_recursive_with_mountinfo() 258 type = mnt_fs_get_fstype(fs); in bind_remount_recursive_with_mountinfo() 296 opts = mnt_fs_get_vfs_options(fs); in bind_remount_recursive_with_mountinfo() 410 struct libmnt_fs *fs; in bind_remount_one_with_mountinfo() local 444 fs = mnt_table_find_target(table, path, MNT_ITER_FORWARD); in bind_remount_one_with_mountinfo() [all …]
|
/systemd-251/src/core/bpf/restrict_fs/ |
D | meson.build | 8 'restrict-fs.bpf.unstripped.o', 9 input : 'restrict-fs.bpf.c', 10 output : 'restrict-fs.bpf.unstripped.o', 14 'restrict-fs.bpf.o', 16 output : 'restrict-fs.bpf.o', 20 'restrict-fs.skel.h', 22 output : 'restrict-fs.skel.h',
|
/systemd-251/test/test-umount/ |
D | rhbug-1554943.mountinfo | 8 25 18 0:22 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:4 - tmpfs tmpfs ro,mode=755 9 26 25 0:23 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime shared:5 - cgroup2 cgroup rw 10 27 25 0:24 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:6 - cgroup cgroup rw,xat… 11 28 18 0:25 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:17 - pstore pstore rw 12 29 25 0:26 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:7 - cgroup cgroup rw… 13 30 25 0:27 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,… 14 31 25 0:28 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:9 - cgroup cgroup rw,fre… 15 32 25 0:29 / /sys/fs/cgroup/hugetlb rw,nosuid,nodev,noexec,relatime shared:10 - cgroup cgroup rw,hu… 16 33 25 0:30 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:11 - cgroup cgroup rw,cpu… 17 34 25 0:31 / /sys/fs/cgroup/net_cls,net_prio rw,nosuid,nodev,noexec,relatime shared:12 - cgroup cgr… [all …]
|
/systemd-251/units/ |
D | initrd.target | 17 Wants=initrd-root-fs.target initrd-root-device.target initrd-fs.target initrd-usr-fs.target initrd-… 18 After=initrd-root-fs.target initrd-root-device.target initrd-fs.target initrd-usr-fs.target basic.t…
|
D | systemd-remount-fs.service.in | 12 Documentation=man:systemd-remount-fs.service(8) 17 Before=local-fs-pre.target local-fs.target shutdown.target 18 Wants=local-fs-pre.target 23 ExecStart={{ROOTLIBEXECDIR}}/systemd-remount-fs
|
D | meson.build | 38 ['initrd-fs.target', 'ENABLE_INITRD'], 41 ['initrd-root-fs.target', 'ENABLE_INITRD'], 45 ['initrd-usr-fs.target', 'ENABLE_INITRD'], 50 ['local-fs-pre.target', ''], 51 ['local-fs.target', ''], 66 ['proc-sys-fs-binfmt_misc.automount', 'ENABLE_BINFMT', 68 ['proc-sys-fs-binfmt_misc.mount', 'ENABLE_BINFMT'], 75 ['remote-fs-pre.target', ''], 76 ['remote-fs.target', ''], 89 ['sys-fs-fuse-connections.mount', '', [all …]
|
D | initrd-parse-etc.service | 13 Requires=initrd-root-fs.target 14 After=initrd-root-fs.target 22 # we have to retrigger initrd-fs.target after daemon-reload 23 ExecStart=-systemctl --no-block start initrd-fs.target
|
D | initrd-switch-root.target | 17 Wants=initrd-udevadm-cleanup-db.service initrd-root-fs.target initrd-fs.target systemd-journald.ser… 18 After=initrd-udevadm-cleanup-db.service initrd-root-fs.target initrd-fs.target emergency.service em…
|
D | sys-fs-fuse-connections.mount | 15 ConditionPathExists=/sys/fs/fuse/connections 23 # is fully operational and /sys/fs/fuse/connections is created, see issue#17586. 30 Where=/sys/fs/fuse/connections
|
D | systemd-binfmt.service.in | 17 After=proc-sys-fs-binfmt_misc.automount 18 After=proc-sys-fs-binfmt_misc.mount 19 After=local-fs.target
|
/systemd-251/src/test/ |
D | test-libmount.c | 29 struct libmnt_fs *fs; in test_libmount_unescaping_one() local 35 r = mnt_table_next_fs(table, iter, &fs); in test_libmount_unescaping_one() 44 assert_se(source = mnt_fs_get_source(fs)); in test_libmount_unescaping_one() 45 assert_se(target = mnt_fs_get_target(fs)); in test_libmount_unescaping_one() 66 assert_se(mnt_table_next_fs(table, iter, &fs) == 1); in test_libmount_unescaping_one()
|
/systemd-251/sysctl.d/ |
D | 50-default.conf | 51 fs.protected_hardlinks = 1 52 fs.protected_symlinks = 1 55 fs.protected_regular = 1 56 fs.protected_fifos = 1
|
/systemd-251/test/testsuite-08.units/ |
D | systemd-remount-fs.service | 6 Before=local-fs-pre.target local-fs.target shutdown.target 7 Wants=local-fs-pre.target
|
/systemd-251/src/shutdown/ |
D | umount.c | 75 struct libmnt_fs *fs; in mount_points_list_get() local 83 r = mnt_table_next_fs(table, iter, &fs); in mount_points_list_get() 89 path = mnt_fs_get_target(fs); in mount_points_list_get() 93 fstype = mnt_fs_get_fstype(fs); in mount_points_list_get() 103 if (!strextend_with_separator(&options, ",", mnt_fs_get_vfs_options(fs))) in mount_points_list_get() 105 if (!strextend_with_separator(&options, ",", mnt_fs_get_fs_options(fs))) in mount_points_list_get() 142 r = mnt_fs_get_propagation(fs, &remount_flags); in mount_points_list_get() 196 struct libmnt_fs *fs; in swap_list_get() local 200 r = mnt_table_next_fs(t, i, &fs); in swap_list_get() 206 source = mnt_fs_get_source(fs); in swap_list_get()
|
/systemd-251/test/testsuite-06.units/ |
D | load-systemd-test-module.service | 5 Requires=local-fs.target 7 After=local-fs.target 12 ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && cd /systemd-test-module && make -f /usr/shar…
|
/systemd-251/src/core/ |
D | bpf-lsm.c | 208 const char *fs; in lsm_bpf_unit_restrict_filesystems() local 241 SET_FOREACH(fs, filesystems) { in lsm_bpf_unit_restrict_filesystems() 242 r = fs_type_from_string(fs, &magic); in lsm_bpf_unit_restrict_filesystems() 244 log_unit_warning(u, "Invalid filesystem name '%s', ignoring.", fs); in lsm_bpf_unit_restrict_filesystems() 248 log_unit_debug(u, "Restricting filesystem access to '%s'", fs); in lsm_bpf_unit_restrict_filesystems()
|
/systemd-251/tools/ |
D | meson-make-symlink.sh | 19 ln -${VERBOSE}fs -T -- "$SOURCE" "${DESTDIR:-}$TARGET" 21 ln -${VERBOSE}fs -T --relative -- "${DESTDIR:-}$SOURCE" "${DESTDIR:-}$TARGET"
|