Date: Fri, 27 Feb 2026 17:47:27 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 293493] in_pcb.h pulls in kernel headers when used in userspace Message-ID: <bug-293493-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293493 Bug ID: 293493 Summary: in_pcb.h pulls in kernel headers when used in userspace Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: nreilly@qnx.com in_pcb.h contains the definition of struct xinpcb for use by userspace applications. While it does have some sections of the file that are #ifdef _KERNEL, there are many other kernel parts that are not guarded, for example the first block of includes has kernel epoch and locking headers. My expectation is that these should not be pulled in when compiling user space code that uses the struct xinpcb. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293493-227>
