Re: [PATCH] 2.4.21-rc1: byteorder.h breaks with __STRICT_ANSI__ defined (trivial)

From: David S. Miller (davem@redhat.com)
Date: Tue May 06 2003 - 22:06:38 EST


   From: David Woodhouse <dwmw2@infradead.org>
   Date: Tue, 06 May 2003 22:19:06 +0100

   The correct fix is to provide a userland-only version of cdrom.h which
   doesn't use the private kernel types.h. Or a file containing _only_
   those parts which can be shared between kernel and userland, defined
   using standard types such as uint32_t etc.

Correct in your world only :-)

Listen, what do you think is the latency every time I add something
to rtnetlink.h or pfkeyv2.h? Should I just sit and twiddle my thumbs
waiting for everyone to update their glibc or kernel-headers or
whatever package before they can compile networking apps using the
new feature?

The fact is, until that issue is solved, we have to assume that
programs are going to include kernel headers and there is nothing
we can do about it until we provide a better situation than exists
now.

Therefore, making inclusions of these kinds of headers work from
userspace is in some sense a requirement.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:29 EST