Page MenuHomeFreeBSD

Add kern_listen(), kern_shutdown(), and kern_socket().
ClosedPublic

Authored by trasz on Jan 28 2017, 1:20 PM.
Tags
None
Referenced Files
F130625104: D9367.id24556.diff
Tue, Sep 30, 8:44 PM
Unknown Object (File)
Wed, Sep 24, 10:47 PM
Unknown Object (File)
Sep 1 2025, 2:36 AM
Unknown Object (File)
Aug 27 2025, 7:54 PM
Unknown Object (File)
Aug 2 2025, 5:13 PM
Unknown Object (File)
Jul 28 2025, 5:38 PM
Unknown Object (File)
Jul 4 2025, 3:52 PM
Unknown Object (File)
Jul 3 2025, 9:56 PM
Subscribers

Details

Summary

Add kern_listen(), kern_shutdown(), and kern_socket(), and use them
instead of their sys_*() counterparts in various compats. The svr4
is left untouched, because there's no point.

Diff Detail

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

Event Timeline

trasz retitled this revision from to Add kern_listen(), kern_shutdown(), and kern_socket()..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)
trasz added inline comments.
sys/compat/cloudabi/cloudabi_fd.c
117 ↗(On Diff #24525)

Ed, could you take a look at those?

kib edited edge metadata.
This revision is now accepted and ready to land.Jan 28 2017, 4:33 PM
ed edited edge metadata.
ed added inline comments.
sys/compat/cloudabi/cloudabi_fd.c
117 ↗(On Diff #24525)

Looks good! CloudABI can only create UNIX sockets with protocol 0. Be sure to remove the XXXes.

This revision was automatically updated to reflect the committed changes.