Home
last modified time | relevance | path

Searched refs:MS_SLAVE (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/basic/
Dmissing_fs.h26 #ifndef MS_SLAVE
27 #define MS_SLAVE (1<<19) macro
Dmountpoint-util.c487 switch (flags & (MS_SHARED|MS_SLAVE|MS_PRIVATE)) { in mount_propagation_flags_to_string()
492 case MS_SLAVE: in mount_propagation_flags_to_string()
508 *ret = MS_SLAVE; in mount_propagation_flags_from_string()
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.c57 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) in make_volatile()
/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/shared/
Dmount-util.c617 { .flag = MS_SLAVE, .name = "MS_SLAVE", }, in mount_flags_to_string()
860 r = mount_nofollow_verbose(LOG_DEBUG, NULL, mount_slave, NULL, MS_SLAVE, NULL); in mount_in_namespace()
/systemd-251/src/test/
Dtest-mount-util.c112 test_mount_flags_to_string_one(MS_SLAVE, "MS_SLAVE"); in TEST()
Dtest-mountpoint-util.c42 test_mount_propagation_flags_one("slave", 0, MS_SLAVE); in TEST()
Dtest-process-util.c283 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) { in TEST()
/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/core/
Dnamespace.c2400 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) { in setup_namespace()
2490 r = mount(NULL, incoming_dir, NULL, MS_SLAVE, NULL); in setup_namespace()
Ddbus-execute.c1632 if (!IN_SET(n, 0, MS_SHARED, MS_PRIVATE, MS_SLAVE)) in mount_propagation_flags_to_string_with_check()
Dexecute.c3223 …r = mount_nofollow_verbose(LOG_DEBUG, NULL, "/dev", NULL, MS_SLAVE|MS_REC, NULL); /* Turn off prop… in setup_credentials()
/systemd-251/docs/
DCONTAINER_INTERFACE.md226 1. The `/run/host/incoming/` directory mount point is configured for `MS_SLAVE`
/systemd-251/src/nspawn/
Dnspawn.c2804 return mount_nofollow_verbose(LOG_ERR, NULL, q, NULL, MS_SLAVE, NULL); in setup_propagate()
3672 r = mount_follow_verbose(LOG_ERR, NULL, "/", NULL, MS_SLAVE|MS_REC, NULL); in outer_child()
/systemd-251/
DTODO1589 - when homed is in use, maybe start the user session manager in a mount namespace with MS_SLAVE,