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

From: Jens Axboe
Date: Tue Sep 30 2003 - 07:31:36 EST


On Tue, Sep 30 2003, David S. Miller wrote:
> On Tue, 30 Sep 2003 14:12:06 +0200
> Andreas Steinmetz <ast@xxxxxxxx> 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/