Files
rust/library/std/src/sys/unix
bors 7506228e2e Auto merge of #84716 - joshtriplett:chroot, r=dtolnay
Add std::os::unix::fs::chroot to change the root directory of the current process

This is a straightforward wrapper that uses the existing helpers for C
string handling and errno handling.

Having this available is convenient for UNIX utility programs written in
Rust, and avoids having to call the unsafe `libc::chroot` directly and
handle errors manually, in a program that may otherwise be entirely safe
code.
2021-04-30 12:19:37 +00:00
..
2020-12-10 15:05:22 -07:00
2021-04-28 14:25:04 +02:00
2021-04-19 13:29:22 +02:00
2020-11-12 03:40:15 +00:00
2021-04-18 09:29:23 +02:00
2021-04-19 13:29:22 +02:00
2020-12-29 02:10:29 -06:00