summary refs log tree commit diff
path: root/vsock.h
Commit message (Collapse)AuthorAge
* vsock: check socket family before reading sockaddrAlyssa Ross2021-03-21
| | | | | | | | | Extracting a helper function for this has the nice side effect of making the `cid' and `port' parameters to vsock_accept nullable, which is nice for consistency with vsock_get_cid_and_port. Message-Id: <20210319025648.17925-2-hi@alyssa.is> Reviewed-by: Cole Helbling <cole.e.helbling@outlook.com>
* vsock: get cid and port instead of just cidAlyssa Ross2021-03-21
| | | | | | | | We can get both in the same system call, so we might as well, rather than having two different functions that make the system call twice. Message-Id: <20210319025648.17925-1-hi@alyssa.is> Reviewed-by: Cole Helbling <cole.e.helbling@outlook.com>
* Initial commitAlyssa Ross2020-09-10