Closed
Description
Feature gate: #![feature(unix_chroot)]
This is a tracking issue for the unix_chroot
feature, which adds std::os::unix::fs::chroot
to change the root directory of the current process.
Public API
// std::os::unix::fs
pub fn chroot<P: AsRef<Path>>(dir: P) -> io::Result<()>
Steps / History
- Implementation: Add std::os::unix::fs::chroot to change the root directory of the current process #84716
- Final commenting period (FCP): Stabilize std::os::unix::fs::chroot #88177 (comment)
- Stabilization PR: Stabilize std::os::unix::fs::chroot #88177