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
F176303148: D57370.id179090.diff
Sat, Oct 17, 7:00 PM
Unknown Object (File)
Thu, Oct 15, 10:17 AM
Unknown Object (File)
Mon, Oct 12, 5:38 AM
Unknown Object (File)
Sun, Sep 20, 10:23 AM
Unknown Object (File)
Sep 9 2026, 2:45 PM
Unknown Object (File)
Sep 9 2026, 4:16 AM
Unknown Object (File)
Aug 29 2026, 5:10 AM
Unknown Object (File)
Aug 28 2026, 11:15 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