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)
Fri, Aug 21, 6:23 PM
Unknown Object (File)
Sun, Aug 16, 5:39 PM
Unknown Object (File)
Fri, Aug 14, 5:23 PM
Unknown Object (File)
Thu, Aug 13, 3:33 PM
Unknown Object (File)
Sun, Aug 9, 6:42 PM
Unknown Object (File)
Sun, Aug 9, 9:57 AM
Unknown Object (File)
Sun, Aug 9, 9:56 AM
Unknown Object (File)
Sun, Aug 9, 6:38 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