Re: Kernel includefile bug not fixed after a year :-(

Jens Axboe
2003-09-30T12:28:58Z

On Tue, Sep 30 2003, David S. Miller wrote:
> On Tue, 30 Sep 2003 14:12:06 +0200
> Andreas Steinmetz <ast@domdv.de> wrote:
>
> > Then please tell me why PPPIOCNEWUNIT is only defined in linux/if_ppp.h
> > and not net/if_ppp.h which is still true for glibc-2.3.2. And please
> > don't tell me to ask the glibc folks. There are inconsistencies between
> > kernel headers and userland headers which force the inclusion of kernel
> > headers in userland applications.
>
> Indeed, and equally someone tell me where all the IPSEC socket
> interface defines are in glibc? It doesn't matter which tree
> you check it won't be there.

Did you notify them of the addition?

> Even if one is of the opinion that nobody should be including the
> kernel headers, you must fully realize that as a matter of
> practicality people absolutely must do this to use many kernel
> interfaces to their full extent.
>
> Suggest changes to fix the problems, but just saying "don't include
> kernel header in your user apps, NYAH NYAH NYAH!" does not help
> anyone at all.

Well then change that to 'if you include kernel headers from your user
apps, be prepared to pick fix the breakage'.

Surely the kernel doesn't move at such an accelerated pace that it's
impossible to keep kernel headers uptodate.

--
Jens Axboe