From: Kyle Moffett <mrmacman_g4@mac.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>,
Linus Torvalds <torvalds@osdl.org>, Adrian Bunk <bunk@stusta.de>,
akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Simple header cleanups
Date: Fri, 28 Apr 2006 12:01:49 -0400 [thread overview]
Message-ID: <BEF524DD-84E8-4579-ABFC-0AFB9EAC1982@mac.com> (raw)
In-Reply-To: <1146238623.11909.524.camel@pmac.infradead.org>
On Apr 28, 2006, at 11:37:03, David Woodhouse wrote:
> On Fri, 2006-04-28 at 17:32 +0200, Jan Engelhardt wrote:
>> Sounds like they want it BSD-style. Do they realize that? New
>> release, new headers, making it necessary to recompile every app,
>> because a struct could have changed. That'd seriously impact
>> compatibility.
>
> Utter crap.
>
> We don't _change_ any of the structs which would be exposed in such
> files (i.e. the structs which should be outside the #ifdef
> __KERNEL__ at the moment, because that would mean we break
> userspace binary compatibility from kernel to kernel.
>
> We absolutely do _NOT_ want to go there. We're talking about
> cleaning up the existing mess, not starting a crack habit.
Example: Say the proposed utsname virtualization gets a new clone
flag (CLONE_NEWUTSNAME). Old headers would obviously not include the
CLONE_NEWUTSNAME define. If you want to compile a glibc that uses
CLONE_NEWUTSNAME, you need to build it against a set of the "kabi
headers" from a version of the kernel that includes the feature. The
resulting glibc will _run_ on any kernel; if you call clone
(CLONE_NEWUTSNAME) on an older kernel it would return EINVAL but work
otherwise. A glibc that does *not* use CLONE_NEWUTSNAME would build
an identical binary with older versions and newer versions. This is
_exactly_ the way things work now, except there is no outside llh
project, it's all stored in the kernel tree.
Cheers,
Kyle Moffett
next prev parent reply other threads:[~2006-04-28 16:03 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
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 [this message]
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=BEF524DD-84E8-4579-ABFC-0AFB9EAC1982@mac.com \
--to=mrmacman_g4@mac.com \
--cc=akpm@osdl.org \
--cc=bunk@stusta.de \
--cc=dwmw2@infradead.org \
--cc=jengelh@linux01.gwdg.de \
--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®