bytecodealliance / bytecodealliance/cap-std
Add a `chroot` function?
Open
- Dominant language
- Rust
- Stars
- 821
- Forks
- 57
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 4
Description
Rust 1.56 stablizes [`std::os::unix::fs::chroot`](std::os::unix::fs::chroot). Should cap-std add a `chroot` function that can be called on a `Dir`?
It'd be implemented in terms of `fchroot` on platforms that have that, or `chroot` on `/proc/self/fd/{}` on Linux.
Contributor guide
Assessment
This issue has not been assessed yet.