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: [email protected]
Reporter: [email protected]
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.