diff options
author | Alan Somers <asomers@gmail.com> | 2021-12-21 08:50:57 -0700 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2021-12-21 11:26:46 -0700 |
commit | 867ac514b03801b14839ea3815918f7c32be282c (patch) | |
tree | ec260d9b794a3f8914b851e2f811a33bffb492a2 /src/sys/sysinfo.rs | |
parent | 6c6c576dc043aeee5a814490ec8c4665283580ae (diff) | |
download | nix-867ac514b03801b14839ea3815918f7c32be282c.zip |
Improve the sockaddr interface:
* All sockaddr newtypes should be repr(transparent)
* All sockaddr newtypes should be opaque, so the user can't do something
like change the sa_family field in a way that violates invariants.
This is a prerequisite for #1544.
Diffstat (limited to 'src/sys/sysinfo.rs')
0 files changed, 0 insertions, 0 deletions