Re: Simple header cleanups

From: Gerrit Huizenga
Date: Wed Apr 26 2006 - 22:27:47 EST



On Wed, 26 Apr 2006 19:18:52 PDT, Linus Torvalds wrote:
>
>
> On Thu, 27 Apr 2006, David Woodhouse wrote:
> >
> > Andrew (or preferably Linus since these are fairly simple and
> > unintrusive bug fixes), please pull from my tree at
> > git://git.infradead.org/hdrcleanup-2.6.git
>
> Hmm. Every time we've done this in the past, something has broken, so I'd
> actually _much_ rather wait until early in the 2.6.18 cycle than do it
> now.
>
> Yeah, people shouldn't include kernel headers, but if they didn't, this
> patch wouldn't matter. And when they do, patches like this tends to show
> some strange app that depends on the current header layout.. Gaah.
>
> Linus

Except there are a few things you can't use in user space now, like
connectors, without including a kernel header file. So, should apps
duplicate the structures and definitions in each and every application and
hopefully notice when the kernel API changes? Seems painful.

Plus, do we really want Apache or other licensed software directly
including GPL header files? Oh what a tangled web we weave when we suck
GPL headers into other applications.

Damned if you do, damned if you don't.

gerrit
-
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/