On Fri, Aug 26, 2022 at 09:53:35AM -0600, Theo de Raadt wrote: > Klemens Nanni <[email protected]> wrote: > > > On Fri, Aug 26, 2022 at 04:15:43PM +0100, Stuart Henderson wrote: > > > On 2022/08/26 09:49, Klemens Nanni wrote: > > > > grep and CVS agree that this is a switch(4) left-over. > > > > > > > > OK? > > > > > > This is exported to userland isn't it? > > > > No, everything is under _KERNEL. > > But there are a few libraries and programs which #define _KERNEL > > So when you see _KERNEL, you need to remain a bit cynical, and check.
Oh wel... https://codesearch.debian.net/search?q=%23%5Cs*define%5Cs%2B_KERNEL%5Cb+filetype%3Ac&literal=0 This shows many false positives, but at least libgtop2 does define _KERNEL and includes <net/if_var.h> so I guess we need to bump that. Let me cross-check this list with a search for <net/if_var.h> and come up with a list of ports to bump.
