All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Blaisorblade <blaisorblade@yahoo.it>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: merge status
Date: Fri, 18 Nov 2005 21:26:21 -0600	[thread overview]
Message-ID: <200511182126.22095.rob@landley.net> (raw)
In-Reply-To: <200511190333.36876.blaisorblade@yahoo.it>

On Friday 18 November 2005 20:33, Blaisorblade wrote:
> > When absolutely necessary, yes.  In theory Jeff's tree works for Jeff so
> > i'm trying to get it to work for me _without_ fixing it myself.  (Instead
> > I bug _him_. :)  But I'm on a wildly different distro (ubuntu on x86 and
> > PLD on x86-64) and things like maszur's headers or the /lib64 thing I
> > haven't got much choice to patch myself.
>
> Btw, why hasn't maszur went to post patches to kernel headers to make them
> includable from userspace instead of merging kernel changes into his
> headers (which is much more work)?

For the same reason the glibc guys don't ship a patch against the kernel 
headers but ship cleaned upkernel headers.  It's much smaller and simpler, 
and the patch would break with every single release.  Besides, the patch 
isn't what we need to build libc, the cleaned up headers are.  It would add 
an unnecessary level of indirection and _never_ get merged into the main 
kernel?

Did I say never?  Yes, I did.  I take it you missed the periodic flamewars on 
this issue?  The kernel guys _actively_ don't care about userspace headers:
http://seclists.org/lists/linux-kernel/2003/Aug/5229.html

You read that right: stable userspace includable kernel headers were bumped to 
2.7, which ain't happening.  That was 2003.  Here's Linus Torvalds in 2004 
shooting down the next stab at it:
http://lwn.net/Articles/113349/

And my salvo in that discussion:
http://www.ussg.iu.edu/hypermail/linux/kernel/0412.0/0866.html

Mazur participated in this and got his head handed to him by Linus Torvalds.  
Random example of the exchange here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0411.3/1708.html

The kernel developers will sort of agree in theory that userspace needs to 
somehow know about the kernel API, but every single specific proposal ever 
brought up to clean up the kernel headers so userspace can more easily 
include them _always_ gets shot down because this work is not necessary to 
compile the linux kernel itself, and is therefore unnecessary churn from 
kernel developers' point of view.  (Userspace be damned.)

> Kernel headers, notwithstanding with 
> what Linus can say, _do_ use __KERNEL__ and are not sanitized enough
> (PTRACE_SETOPTIONS from 2.6 headers produces a binary not working on 2.4
> hosts - you must switch to OLDSETOPTIONS).

A periodic feature of the recurring flamewar is the proposal to remove all 
#ifdef __KERNEL__ notations from the kernel headers.  Here's an example from 
2001...

http://www.ussg.iu.edu/hypermail/linux/kernel/0107.2/0480.html

How serious they are about it varies from year to year...

Rob


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2005-11-19  3:26 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-09 21:35 merge status Andrew Morton
2005-11-09 21:50 ` James Bottomley
2005-11-09 22:01   ` Linus Torvalds
2005-11-09 22:25     ` James Bottomley
2005-11-09 22:43       ` Linus Torvalds
2005-11-10  7:16         ` Jeff Garzik
2005-11-09 23:01       ` Andrew Morton
2005-11-09 23:09         ` Jesper Juhl
2005-11-09 23:58         ` Linus Torvalds
2005-11-10 13:28           ` Pavel Machek
2005-11-16 13:36           ` [uml-devel] " Rob Landley
2005-11-18  7:08             ` Blaisorblade
2005-11-18  7:17               ` Rob Landley
2005-11-18  7:51                 ` Blaisorblade
2005-11-18  8:41                   ` Rob Landley
2005-11-19  2:33                     ` Blaisorblade
2005-11-19  3:26                       ` Rob Landley [this message]
     [not found]                         ` <87hda65mbv.fsf@amaterasu.srvr.nix>
2005-11-21 14:51                           ` Rob Landley
2005-11-21 19:41                             ` Nix
2005-11-19 23:40                     ` Henrik Nordstrom
2005-11-20 16:32                       ` Blaisorblade
2005-11-18 23:52                 ` Jeff Dike
2005-11-18 23:37                   ` Rob Landley
2005-11-19  0:55                     ` Jeff Dike
2005-11-19  0:06                       ` Rob Landley
2005-11-30 17:23                       ` Michael Richardson
2005-12-02  0:15                         ` Blaisorblade
2005-11-10  0:16         ` Con Kolivas
2005-11-10  0:25           ` Andrew Morton
2005-11-10  0:24         ` James Bottomley
2005-11-10  8:40         ` Jens Axboe
2005-11-10  8:56           ` Andrew Morton
2005-11-10  9:22             ` Jens Axboe
2005-11-10  9:30               ` Andrew Morton
2005-11-10  9:57                 ` git branches strategy (was Re: merge status) Jeff Garzik
2005-11-10 13:22                 ` merge status Dave Kleikamp
2005-11-10 13:26         ` Pavel Machek
2005-11-14 20:13         ` Bill Davidsen
2005-11-09 22:05 ` Roland Dreier
2005-11-09 22:12 ` Jody McIntyre
2005-11-09 22:18   ` Linus Torvalds
2005-11-09 22:23     ` Jody McIntyre
2005-11-09 22:45       ` Andrew Morton
2005-11-09 22:48       ` Linus Torvalds
2005-11-09 22:13 ` Anton Altaparmakov
2005-11-09 22:48   ` Andrew Morton
2005-11-09 22:58     ` Linus Torvalds
2005-11-09 22:41 ` Russell King
2005-11-10  7:20 ` Jeff Garzik
2005-11-10  8:41 ` Jens Axboe

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=200511182126.22095.rob@landley.net \
    --to=rob@landley.net \
    --cc=blaisorblade@yahoo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.