/systemd-251/src/basic/ |
D | missing_fs.h | 18 #ifndef MS_REC 19 #define MS_REC 16384 macro
|
D | namespace-util.c | 181 return RET_NERRNO(mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL)); in detach_mount_namespace()
|
D | process-util.c | 1352 if (mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL) < 0) { in safe_fork_full()
|
/systemd-251/src/volatile-root/ |
D | volatile-root.c | 41 …ofollow_verbose(LOG_ERR, old_usr, "/run/systemd/volatile-sysroot/usr", NULL, MS_BIND|MS_REC, NULL); in make_volatile() 57 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) in make_volatile()
|
/systemd-251/src/core/ |
D | namespace.c | 1044 … r = mount_nofollow_verbose(LOG_DEBUG, "/dev", mount_entry_path(m), NULL, MS_BIND|MS_REC, NULL); in mount_bind_dev() 1065 … r = mount_nofollow_verbose(LOG_DEBUG, "/sys", mount_entry_path(m), NULL, MS_BIND|MS_REC, NULL); in mount_sysfs() 1130 … r = mount_nofollow_verbose(LOG_DEBUG, "/proc", entry_path, NULL, MS_BIND|MS_REC, NULL); in mount_procfs() 1472 …t_nofollow_verbose(LOG_DEBUG, what, mount_entry_path(m), NULL, MS_BIND|(rbind ? MS_REC : 0), NULL); in apply_one_mount() 1493 …t_nofollow_verbose(LOG_DEBUG, what, mount_entry_path(m), NULL, MS_BIND|(rbind ? MS_REC : 0), NULL); in apply_one_mount() 2400 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) { in setup_namespace() 2440 … r = mount_nofollow_verbose(LOG_DEBUG, root, root, NULL, MS_BIND|MS_REC, NULL); in setup_namespace() 2447 r = mount_nofollow_verbose(LOG_DEBUG, "/", root, NULL, MS_BIND|MS_REC, NULL); in setup_namespace() 2469 r = mount_nofollow_verbose(LOG_DEBUG, root, root, NULL, MS_BIND|MS_REC, NULL); in setup_namespace() 2482 if (mount(NULL, "/", NULL, mount_flags | MS_REC, NULL) < 0) { in setup_namespace()
|
D | dbus-execute.c | 750 c->bind_mounts[i].recursive ? (uint64_t) MS_REC : (uint64_t) 0); in property_get_bind_paths() 3417 if (!IN_SET(mount_flags, 0, MS_REC)) in bus_exec_context_set_transient_property() 3426 .recursive = !!(mount_flags & MS_REC), in bus_exec_context_set_transient_property() 3439 (mount_flags & MS_REC) ? "rbind" : "norbind"); in bus_exec_context_set_transient_property()
|
D | execute.c | 3020 … r = mount_nofollow_verbose(LOG_DEBUG, final, workspace, NULL, MS_BIND|MS_REC, NULL); in setup_credentials_internal() 3060 … r = mount_nofollow_verbose(LOG_DEBUG, final, workspace, NULL, MS_BIND|MS_REC, NULL); in setup_credentials_internal() 3223 …r = mount_nofollow_verbose(LOG_DEBUG, NULL, "/dev", NULL, MS_SLAVE|MS_REC, NULL); /* Turn off prop… in setup_credentials()
|
/systemd-251/src/test/ |
D | test-mount-util.c | 107 test_mount_flags_to_string_one(MS_REC, "MS_REC"); in TEST() 158 assert_se(mount_nofollow(subdir, subdir, NULL, MS_BIND|MS_REC, NULL) >= 0); in TEST()
|
D | test-mountpoint-util.c | 307 assert_se(mount(NULL, "/", NULL, MS_PRIVATE | MS_REC, NULL) >= 0); in intro()
|
D | test-process-util.c | 283 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) { in TEST()
|
/systemd-251/src/shared/ |
D | switch-root.c | 63 if (mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) < 0) in switch_root()
|
D | mount-util.c | 329 r = mount_nofollow(prefix, prefix, NULL, MS_BIND|MS_REC, NULL); in bind_remount_recursive_with_mountinfo() 612 { .flag = MS_REC, .name = "MS_REC", }, in mount_flags_to_string() 1046 r = mount_nofollow_verbose(LOG_DEBUG, path, path, NULL, MS_BIND|MS_REC, NULL); in make_mount_point()
|
D | mount-setup.c | 546 if (mount(NULL, "/", NULL, MS_REC|MS_SHARED, NULL) < 0) in mount_setup()
|
D | bus-unit-util.c | 1519 uint64_t flags = MS_REC; in bus_append_execute_property() 1552 flags = MS_REC; in bus_append_execute_property()
|
/systemd-251/src/nspawn/ |
D | nspawn-mount.c | 689 flags |= MS_REC; in parse_mount_bind_options() 691 flags &= ~MS_REC; in parse_mount_bind_options() 711 unsigned long mount_flags = MS_BIND | MS_REC; in mount_bind() 1067 r = mount_nofollow_verbose(LOG_ERR, f, t, NULL, MS_BIND|MS_REC, NULL); in setup_volatile_yes()
|
D | nspawn.c | 3261 r = mount_follow_verbose(LOG_ERR, NULL, "/", NULL, MS_SHARED|MS_REC, NULL); in inner_child() 3672 r = mount_follow_verbose(LOG_ERR, NULL, "/", NULL, MS_SLAVE|MS_REC, NULL); in outer_child() 3735 … r = mount_nofollow_verbose(LOG_ERR, "/", "/run/systemd/nspawn-root", NULL, MS_BIND|MS_REC, NULL); in outer_child() 3871 r = mount_nofollow_verbose(LOG_ERR, NULL, directory, NULL, MS_SHARED|MS_REC, NULL); in outer_child()
|
/systemd-251/src/home/ |
D | homework-mount.c | 87 …r = mount_nofollow_verbose(LOG_ERR, "/run", "/run", NULL, MS_SLAVE|MS_REC, NULL); /* Mark /run as … in home_unshare_and_mkdir()
|
/systemd-251/src/sysext/ |
D | sysext.c | 456 r = mount_nofollow_verbose(LOG_ERR, NULL, "/run", NULL, MS_SLAVE|MS_REC, NULL); in merge_subprocess()
|
/systemd-251/src/systemctl/ |
D | systemctl-show.c | 1530 rbind == MS_REC ? ":rbind" : "") < 0) in print_property()
|