Re: Recent if_stat changes have broken sysutils/xosview

2020-02-09 Thread David Brownlee
Should we have a list of kernel grovelling pkgsrc packages we are interested in keeping working? lsof, xosview... Definitely not a "these must keep working they way they currently do", or even "these must remain able to extract every piece of information they currently do", but more of a "these

Re: Recent if_stat changes have broken sysutils/xosview

2020-02-09 Thread Chavdar Ivanov
On Sun, 9 Feb 2020 at 13:02, Paul Goyette wrote: > > On Sun, 9 Feb 2020, Roy Marples wrote: > > >> "struct ifnet" is private to the kernel. This application should be using > >> the properly exported data that's available via ioctls for this purpose. > > > > We have far too many kernel only

Re: Recent if_stat changes have broken sysutils/xosview

2020-02-09 Thread Paul Goyette
On Sun, 9 Feb 2020, Roy Marples wrote: "struct ifnet" is private to the kernel. This application should be using the properly exported data that's available via ioctls for this purpose. We have far too many kernel only things exposed to userland. Totally agree. A constant beef of mine is

Re: Recent if_stat changes have broken sysutils/xosview

2020-02-09 Thread Roy Marples
On 09/02/2020 01:52, Jason Thorpe wrote: On Feb 8, 2020, at 4:04 PM, Paul Goyette wrote: The package no longer builds. Fails with (among others) error: 'struct ifnet' has no member named 'if_ibytes'; did you mean 'if_index'? "struct ifnet" is private to the kernel. This application

Re: Recent if_stat changes have broken sysutils/xosview

2020-02-08 Thread Jason Thorpe
> On Feb 8, 2020, at 4:04 PM, Paul Goyette wrote: > > The package no longer builds. Fails with (among others) > > error: 'struct ifnet' has no member named 'if_ibytes'; did you mean > 'if_index'? "struct ifnet" is private to the kernel. This application should be using the properly

Recent if_stat changes have broken sysutils/xosview

2020-02-08 Thread Paul Goyette
The package no longer builds. Fails with (among others) error: 'struct ifnet' has no member named 'if_ibytes'; did you mean 'if_index'? ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | |