if returning errno value directly from a syscall, we need to negate it.
[musl] / src / signal / restore.c