cap-std icon indicating copy to clipboard operation
cap-std copied to clipboard

Add a `chroot` function?

Open sunfishcode opened this issue 4 years ago • 0 comments

Rust 1.56 stablizes 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.

sunfishcode avatar Oct 21 '21 15:10 sunfishcode