From: Felix von Leitner <leitner@fefe.de>
To: "David S. Miller" <davem@redhat.com>
Cc: Felix von Leitner <leitner@fefe.de>, linux-kernel@vger.kernel.org
Subject: Re: Linux kernel headers violate RFC2553
Date: Fri, 8 Jun 2001 21:12:47 +0200 [thread overview]
Message-ID: <20010608211247.A12925@codeblau.de> (raw)
In-Reply-To: <20010608195719.A4862@fefe.de> <15137.8668.590390.10485@pizda.ninka.net>
In-Reply-To: <15137.8668.590390.10485@pizda.ninka.net>; from davem@redhat.com on Fri, Jun 08, 2001 at 12:05:00PM -0700
Thus spake David S. Miller (davem@redhat.com):
> > glibc works around this, but the diet libc uses the kernel headers and
> > thus exports the wrong API to user land.
> Don't user kernel headers for userspace.
What choice do I have?
Duplicate everything and then be out of sync when the specs change?
Using glibc-2.1.* for IPv6 did not work for 2.4 kernels for more than
ONE YEAR because of this, then glibc 2.2 became available. I am not
willing to follow this shining example of "Linux brokenness" that is
still being laughed about by avid BSD followers.
I hereby volunteer to submit patches for all places where the kernel
headers are not RFC compliant. The kernel headers are actually
_intended_ to be used from user space, as kernel specific parts are
escaped using "#ifdef __KERNEL__" all over the place. What reason would
there be for this if the kernel headers were not used from user space?
Even when using glibc the kernel headers are included in most programs.
> Kernel headers and user headers are distinctly different namespaces,
> and you have pointed out only one of many places where we use
> different names/structures/etc. for some kernel networking headers
> vs. what userspace wants.
Then, with all due respect, those places should be fixed.
There is no excuse for sloppy code and sloppy interfaces. At any rate,
"don't use our code, then" is not a valid excuse in my humble opinion.
Felix
next prev parent reply other threads:[~2001-06-08 19:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-08 17:57 Linux kernel headers violate RFC2553 Felix von Leitner
2001-06-08 19:05 ` David S. Miller
2001-06-08 19:12 ` Felix von Leitner [this message]
2001-06-08 21:31 ` David S. Miller
2001-06-08 21:49 ` Linus Torvalds
2001-06-08 23:06 ` Oliver Xymoron
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=20010608211247.A12925@codeblau.de \
--to=leitner@fefe.de \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.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 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.