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)
Thu, Aug 20, 4:23 PM
Unknown Object (File)
Sat, Aug 15, 2:16 PM
Unknown Object (File)
Sat, Aug 15, 5:29 AM
Unknown Object (File)
Fri, Aug 14, 6:32 PM
Unknown Object (File)
Thu, Aug 13, 4:00 AM
Unknown Object (File)
Wed, Aug 12, 1:13 AM
Unknown Object (File)
Tue, Aug 11, 11:18 PM
Unknown Object (File)
Mon, Aug 10, 11:52 AM

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