pub fn chroot(path: &CStr) -> Result<(), Errno>Expand description
Change le répertoire racine du processus vers path (chroot(2)) —
descellement additif ADR-085
pour la face libc. Confinement de processus (CAP_SYS_CHROOT requis).
§Errors
- [
Errno::EPERM] :CAP_SYS_CHROOTmanquant. - [
Errno::ENOENT] :pathn’existe pas. - [
Errno::ENOTDIR] : un composant depathn’est pas un répertoire.