From: David Woodhouse <dwmw2@infradead.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Simple header cleanups
Date: Thu, 27 Apr 2006 04:17:51 +0100 [thread overview]
Message-ID: <1146107871.2885.60.camel@hades.cambridge.redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0604261954480.3701@g5.osdl.org>
On Wed, 2006-04-26 at 19:59 -0700, Linus Torvalds wrote:
> Linkages are bad. We _will_ break kernel headers for user space, and
> that's just a undeniable fact.
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?
The current situation is that they all go off and do their own thing to
work around it, instead of submitting those fixes. We need to do better
than that.
> If this is work to try to make kernel headers generally palatable to user
> space, I'm not going to apply it at all. Not now, not early in the 2.6.18
> sequence, not EVER. Because that's not a goal I believe in for a moment.
Kernel headers are never going to be generally palatable to user space.
That's always been clear, and it's a large part of the reason why we
wanted the 'export' step -- so that a _subset_ of headers could be
copied out for use by userspace, rather than a complete tarball as has
been used in the part.
> In contrast, if this is work to make it eventually _easier_ for _library_
> people to decide to upgrade their kernel-related information, I'm ok with
> it. But that "target audience" part really is very very important. The
> target audience should NOT be applications including kernel headers.
>
> The target audience should be distributions and library maintainers.
And those are the people I've been talking to over the last week or so.
All the distributions have their own hacks and patches and scripts which
mangle the kernel headers. Some from a vaguely current copy, some from a
copy which was forked years ago and kept vaguely up to date with
syscalls and new ioctls by hand. The results differ wildly from
distribution to distribution, and the end result for the _user_ is a
steaming inconsistent pile of crap.
What I'm trying to do here is centralise that process and let people
work on it together -- and yes, it still needs to go through
distributions and library maintainers. The point is not to go back to
making symlinks from /usr/include/{linux,asm} to the kernel directories
again -- that would be a retrograde step. The point is that distro and
library maintainers can work from what is provided by the kernel to
achieve a consistent and useful result.
That _is_ needed. It's a quality of implementation issue.
--
dwmw2
next prev parent reply other threads:[~2006-04-27 3:17 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-27 2:13 David Woodhouse
2006-04-27 2:18 ` Linus Torvalds
2006-04-27 2:27 ` Gerrit Huizenga
2006-04-27 2:46 ` Linus Torvalds
2006-04-27 3:00 ` David Woodhouse
2006-04-27 4:32 ` Gerrit Huizenga
2006-04-27 2:37 ` David Woodhouse
2006-04-27 2:59 ` Linus Torvalds
2006-04-27 3:17 ` David Woodhouse [this message]
2006-04-27 3:31 ` Linus Torvalds
2006-04-27 3:41 ` David Woodhouse
2006-04-27 7:10 ` Denis Vlasenko
2006-04-27 7:23 ` Arjan van de Ven
2006-04-27 8:49 ` Krzysztof Halasa
2006-04-27 11:03 ` Arnd Bergmann
2006-04-27 21:37 ` Adrian Bunk
2006-04-27 22:00 ` Linus Torvalds
2006-04-27 23:11 ` David Woodhouse
2006-04-27 23:12 ` Adrian Bunk
2006-04-28 0:01 ` Linus Torvalds
2006-04-28 0:55 ` David Woodhouse
2006-04-28 15:32 ` Jan Engelhardt
2006-04-28 15:37 ` David Woodhouse
2006-04-28 15:59 ` Arjan van de Ven
2006-04-28 16:01 ` Kyle Moffett
2006-04-29 10:33 ` Krzysztof Halasa
2006-05-03 2:53 ` H. Peter Anvin
2006-04-30 9:38 ` Peter Chubb
2006-04-30 9:59 ` David Woodhouse
2006-04-30 21:48 ` Peter Chubb
2006-04-27 15:05 ` David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1146107871.2885.60.camel@hades.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®