Feature gate: #![feature(process_chroot)]
This is a tracking issue for std::os::unix::process::CommandExt::chroot, which provides a safe way to invoke chroot when starting a process.
Public API
// `std::os::unix::process`
impl CommandExt {
fn chroot<P: AsRef<Path>>(&mut self, dir: P) -> &mut process::Command;
}
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
Unresolved Questions
Feature gate:
#![feature(process_chroot)]This is a tracking issue for
std::os::unix::process::CommandExt::chroot, which provides a safe way to invokechrootwhen starting a process.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)std::os::unix::process::CommandExt::chrootto safely chroot a child process #137759Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩