Made restrict_syscalls return program exit state and exit on signals.