bytecodealliance / bytecodealliance/cap-std
Add a `chroot` function?
Offen
- Vorherrschende Sprache
- Rust
- Sterne
- 821
- Forks
- 57
- Ø Merge
- 1 Std. 16 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.