use sigaction() to setup SIGARLM so we can set SA_RESTART, and
authorderaadt <deraadt@openbsd.org>
Fri, 12 Jul 2024 07:15:28 +0000 (07:15 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 12 Jul 2024 07:15:28 +0000 (07:15 +0000)
commitee713cad9993da8e2c9da0e398db96b690675c89
treee5d79e286b479ac8153a3f30e98cd504ea5452b4
parenta8d65a3f56d3a0ce3a4896b81833569012f87a21
use sigaction() to setup SIGARLM so we can set SA_RESTART, and
remove the re-arming in the handler.  Better than using siginterrupt(),
and avoids the errno saving requirement in the handler also.
ok guenther millert
usr.bin/openssl/speed.c