[Bug 293493] in_pcb.h pulls in kernel headers when used in userspace

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Mar 2026 20:07:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293493

--- Comment #4 from Gleb Smirnoff <glebius@FreeBSD.org> ---
Ok, so appeared to be not so trivial, given presence of _WANT_INPCB. And I
really want to do it right rather than quick fix.

Good news is that we have only once consumer of _WANT_INPCB left in the tree
and I really want to remove it. I know there is also lsof outside of FreeBSD
tree. But they will need to fix it themselves. We got all the APIs required to
get data from kernel without going in there with dirty hands :)

I'll do that this month, as I'm already in the inpcb area right now.

-- 
You are receiving this mail because:
You are the assignee for the bug.