CLONE_FS
Reverse the effect of the clone(2) CLONE_FS flag. Unshare
filesystem attributes, so that the calling process no
longer shares its root directory (chroot(2)), current
directory (chdir(2)), or umask (umask(2)) attributes with
any other process.
There is no handling of unshare() by proot-rs yet, so I have documented it here.
According to the unshare(2) man page:
A call to unshare(CLONE_FS) will:
There is no handling of unshare() by proot-rs yet, so I have documented it here.