Page MenuHomeFreeBSD

uipc_usrreq: revert addition of EMPTYPATH for bindat(2)
ClosedPublic

Authored by kib on Jun 4 2026, 5:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 20, 12:58 PM
Unknown Object (File)
Thu, Sep 17, 7:32 PM
Unknown Object (File)
Thu, Sep 17, 7:26 PM
Unknown Object (File)
Thu, Sep 17, 6:37 PM
Unknown Object (File)
Thu, Sep 17, 6:36 PM
Unknown Object (File)
Mon, Sep 7, 6:00 PM
Unknown Object (File)
Sun, Sep 6, 8:02 PM
Unknown Object (File)
Sun, Sep 6, 1:08 PM

Details

Summary
The caller wants the parent vnode, which cannot be provided for emptypath
lookups.

Reported by:    markj
Fixes:  12c590a9abd7 ("bindat(2)/connectat(2): allow implicit EMPTYPATH for unix domain sockets")

Diff Detail

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

Event Timeline

kib requested review of this revision.Jun 4 2026, 5:29 PM

I thought about doing two separate namei()s for bindat, but it is not worth it apparently.

This revision is now accepted and ready to land.Jun 4 2026, 5:41 PM