signal_cpualarm: eliminate system calls