Page MenuHomeFreeBSD

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

Authored by kib on Sat, May 30, 10:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 8, 6:32 PM
Unknown Object (File)
Mon, Jun 8, 2:13 AM
Unknown Object (File)
Mon, Jun 8, 2:07 AM
Unknown Object (File)
Sun, Jun 7, 7:43 PM
Unknown Object (File)
Sun, Jun 7, 6:36 PM
Unknown Object (File)
Sun, Jun 7, 2:47 AM
Unknown Object (File)
Fri, Jun 5, 8:03 PM
Unknown Object (File)
Sun, May 31, 11:25 AM

Diff Detail

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

Event Timeline

kib requested review of this revision.Sat, May 30, 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.Tue, Jun 2, 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