Page MenuHomeFreeBSD

bindat(2)/connectat(2): allow implicit EMPTYPATH for unix domain sockets
ClosedPublic

Authored by kib on May 30 2026, 10:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 26, 9:34 PM
Unknown Object (File)
Sun, Jul 26, 1:06 PM
Unknown Object (File)
Tue, Jul 21, 7:17 PM
Unknown Object (File)
Sun, Jul 19, 12:27 PM
Unknown Object (File)
Sat, Jul 18, 9:57 PM
Unknown Object (File)
Wed, Jul 15, 7:24 AM
Unknown Object (File)
Wed, Jul 15, 7:24 AM
Unknown Object (File)
Wed, Jul 15, 1:55 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.May 30 2026, 10:15 PM
sys/kern/uipc_usrreq.c
617

As I understand it, bind() must create a new socket, as we use VOP_CREATE below. But then, how can we already have an fd for it?

sys/kern/uipc_usrreq.c
617

It must create the vnode if not existing, but also it must check for the existence of the vnode, the EADDINUSE error when vp != NULL. As is, I think it is useful if only for completeness.

This revision is now accepted and ready to land.Jun 2 2026, 3:31 PM

Hello all,

Got a testunit error on devel/aws-c-io and there is a PR opened https://github.com/awslabs/aws-c-io/issues/803

Any clues around this?

Thanks