Home
last modified time | relevance | path

Searched refs:MS_REC (Results 1 – 19 of 19) sorted by relevance

/systemd-251/src/basic/
Dmissing_fs.h18 #ifndef MS_REC
19 #define MS_REC 16384 macro
Dnamespace-util.c181 return RET_NERRNO(mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL)); in detach_mount_namespace()
Dprocess-util.c1352 if (mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL) < 0) { in safe_fork_full()
/systemd-251/src/volatile-root/
Dvolatile-root.c41 …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/
Dnamespace.c1044 … 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()
Ddbus-execute.c750 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()
Dexecute.c3020 … 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/
Dtest-mount-util.c107 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()
Dtest-mountpoint-util.c307 assert_se(mount(NULL, "/", NULL, MS_PRIVATE | MS_REC, NULL) >= 0); in intro()
Dtest-process-util.c283 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) { in TEST()
/systemd-251/src/shared/
Dswitch-root.c63 if (mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) < 0) in switch_root()
Dmount-util.c329 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()
Dmount-setup.c546 if (mount(NULL, "/", NULL, MS_REC|MS_SHARED, NULL) < 0) in mount_setup()
Dbus-unit-util.c1519 uint64_t flags = MS_REC; in bus_append_execute_property()
1552 flags = MS_REC; in bus_append_execute_property()
/systemd-251/src/nspawn/
Dnspawn-mount.c689 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()
Dnspawn.c3261 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/
Dhomework-mount.c87 …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/
Dsysext.c456 r = mount_nofollow_verbose(LOG_ERR, NULL, "/run", NULL, MS_SLAVE|MS_REC, NULL); in merge_subprocess()
/systemd-251/src/systemctl/
Dsystemctl-show.c1530 rbind == MS_REC ? ":rbind" : "") < 0) in print_property()