diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-09-29 01:41:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 01:41:34 +0000 |
commit | 150579c044924386ae88b4d36d54698b9606ebd8 (patch) | |
tree | 2aab5735350a27db72ecaa5fce9309dd3bf582ce | |
parent | 759b34adea682c5434ea88cea5d666da816149cc (diff) | |
parent | a60703430ee708f3899b411f7756e65ea44c8f2a (diff) | |
parent | 1671edc3e7d3fea63fbf721071bd2ddbad8e9e67 (diff) | |
parent | 8d6c2b3a70c650e4aed47d735c9f236ee45e9d26 (diff) | |
download | nix-150579c044924386ae88b4d36d54698b9606ebd8.zip |
Merge #1538 #1545 #1546
1538: posix_fadvise doesn't return -1 as sentinel value r=asomers a=ocadaruma
## Summary
- `posix_fadvise(2)` does return error number directly (i.e. not through `errno`)
* refs: https://man7.org/linux/man-pages/man2/posix_fadvise.2.html , https://man7.org/linux/man-pages/man2/posix_fadvise.2.html
- However `posix_fadvise`-binding uses `Errno::result` to translate the error now, which is mis-use.
1545: Fix memory unsafety in unistd::getgrouplist r=asomers a=asomers
Fixes #1541
1546: Revert "Expose SockAddr::from_raw_sockaddr" r=asomers a=asomers
This reverts commit ed43d2c65e65dd68c9cf2dcf06f5ec45a44aaccd.
As discussed in #1544 the API of this function needs to change. For
now, revert the PR that made it public, because it has not yet been
included in any release.
Co-authored-by: Haruki Okada <ocadaruma@gmail.com>
Co-authored-by: vitalyd <vitalyd@gmail.com>
Co-authored-by: Alan Somers <asomers@gmail.com>