On Solaris, I am running a Java application inside a chroot using sudo to change the userid to be non-root. However, I repeatedly ran into segementation faults. The solultion to the problem was making the /dev/zero file writable by everyone (user, group, and world).