Re: Simple header cleanups

From: Arjan van de Ven
Date: Thu Apr 27 2006 - 03:23:28 EST


On Thu, 2006-04-27 at 10:10 +0300, Denis Vlasenko wrote:
> On Thursday 27 April 2006 06:31, Linus Torvalds wrote:
> >
> > On Thu, 27 Apr 2006, David Woodhouse wrote:
> > >
> > > Agreed. And distributions and library maintainers _will_ fix them. Are
> > > we to deny those people the tools which will help them to keep track of
> > > our breakage and submit patches to fix it?
> >
> > No. As mentioned, as long as the target audience is distributions and
> > library maintainers, I definitely think we should do help them as much as
> > possible. Our problems have historically been "random people" who have
> > /usr/include/linux being the symlink to "kernel source of the day", which
> > is an unsupportable situation.
>
> Maybe we should have a script which processes kernel's include/linux/*
> files and produces sanitized set of headers (by deleting
> "#ifdef __KERNEL__" blocks, etc), which will be treated at
> *the* official kernel<->userspace API and will be used by glibc etc?
>
> Such "kernel header sanitizator" script is to be maintained
> and distributed as part of kernel tree.

this is what David is doing btw ;)


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