ld.so's syscall _dl_* API/ABI doesn't reurn errno, but -errno.
authorderaadt <deraadt@openbsd.org>
Tue, 12 Dec 2017 15:33:34 +0000 (15:33 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 12 Dec 2017 15:33:34 +0000 (15:33 +0000)
commit8215ea780f1f1212da79863ce16956e3339bd88b
treef85896e6bfff0d1f75e62bf593ea750d309123ae
parenta3ef2fce0b740075bab6873e3b2281ed6699e2b5
ld.so's syscall _dl_* API/ABI doesn't reurn errno, but -errno.
Reviewing behaviour artifacts with pledge, I discover a close(-ENOSYS)..
ok guenther
libexec/ld.so/sod.c