I realize that I actually need to check the output of /dev/urandom, which could be interrupted due to anything from a signal or spurious return.