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, Jun 21, 12:20 AM
Unknown Object (File)
Sun, Jun 21, 12:16 AM
Unknown Object (File)
Sat, Jun 20, 9:21 PM
Unknown Object (File)
Sat, Jun 20, 9:18 PM
Unknown Object (File)
Sat, Jun 20, 4:21 PM
Unknown Object (File)
Sat, Jun 20, 2:39 PM
Unknown Object (File)
Thu, Jun 18, 10:20 PM
Unknown Object (File)
Thu, Jun 18, 10:16 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