in reply to exiting a chroot environment
If you want a good kernel patch to restrict chroot, check out the grsecurity patch. grsecurity