(
source: Source,
target: Target,
)
| 107 | #[doc(alias = "mount")] |
| 108 | #[doc(alias = "MS_REC")] |
| 109 | pub fn mount_bind_recursive<Source: path::Arg, Target: path::Arg>( |
| 110 | source: Source, |
| 111 | target: Target, |
| 112 | ) -> io::Result<()> { |
| 113 | source.into_with_c_str(|source| { |
| 114 | target.into_with_c_str(|target| { |
| 115 | backend::mount::syscalls::mount( |
| 116 | Some(source), |
| 117 | target, |
| 118 | None, |
| 119 | MountFlagsArg(MountFlags::BIND.bits() | MountPropagationFlags::REC.bits()), |
| 120 | None, |
| 121 | ) |
| 122 | }) |
| 123 | }) |
| 124 | } |
| 125 | |
| 126 | /// `mount(NULL, target, NULL, mountflags, NULL)` |
| 127 | /// |
nothing calls this directly
no test coverage detected