bytecodealliance / bytecodealliance/cap-std

Add a `chroot` function?

Aperta
#191 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
821
Fork
57
Merge medio
1h 16m
PR unite (30g)
4

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.