Performance improvements to chroot restrictions