if returning errno value directly from a syscall, we need to negate it.
[musl] / arch /
drwxr-xr-x   ..
drwxr-xr-x - i386
drwxr-xr-x - x86_64