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
Unknown Object (File)
Sat, Apr 4, 1:57 AM
Unknown Object (File)
Fri, Apr 3, 1:47 PM
Unknown Object (File)
Mon, Mar 23, 10:24 AM
Unknown Object (File)
Sun, Mar 15, 1:33 AM
Unknown Object (File)
Sat, Mar 14, 3:16 AM
Unknown Object (File)
Mar 5 2026, 7:16 AM
Unknown Object (File)
Mar 4 2026, 11:35 PM
Unknown Object (File)
Feb 28 2026, 4:18 AM
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.