commit | 4ff7bc3eb32e9d66312d16757fb8c083df2d87d6 | [log] [download] |
---|---|---|
author | deraadt <deraadt> | Fri Jun 28 13:35:05 2019 +0000 |
committer | deraadt <deraadt> | Fri Jun 28 13:35:05 2019 +0000 |
tree | b505bffb084d50d6487010fbeb03c55936a998ca | |
parent | 6ce38b73956836c26c8914cdf5002da7900a5d2d [diff] |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.