Page MenuHomeFreeBSD

Add the remaining pointer size independent CloudABI socket system calls.
ClosedPublic

Authored by ed on Jul 27 2015, 2:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 19 2023, 11:06 PM
Unknown Object (File)
Nov 6 2023, 10:02 PM
Unknown Object (File)
Oct 5 2023, 9:00 PM
Unknown Object (File)
Sep 13 2023, 1:28 AM
Unknown Object (File)
Sep 11 2023, 7:48 PM
Unknown Object (File)
Aug 13 2023, 6:41 AM
Unknown Object (File)
Aug 6 2023, 12:17 AM
Unknown Object (File)
Aug 2 2023, 6:35 PM
Subscribers

Details

Summary

CloudABI uses a structure called cloudabi_sockstat_t. Think of it as
'struct stat' for sockets. It is used by functions such as
getsockname(), getpeername(), some of the getsockopt() values, etc.

This change implements the sock_stat_get() system call that returns a
copy of this structure. The accept() system call should also return a
full copy of this structure eventually, but for now we're only
interested in the peer address. Add a TODO() to make sure this is
patched up later on.

Test Plan

These system calls pass the cloudlibc test suite.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from to Add the remaining pointer size independent CloudABI socket system calls..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: glebius, gnn.
This revision was automatically updated to reflect the committed changes.