lkml.org 
[lkml]   [2003]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Recent changes to sysctl.h breaks glibc
From
Date
On Tue, 2003-05-20 at 19:06, H. Peter Anvin wrote:

> > What if the include/linux files themselves make use of the asm files?
> >
>
> No, not acceptable.
>
> The thing is, trying to redefine the old namespaces is hopeless at this
> point. Hence the proposed new namespace <linux/abi/*.h> ...
> <linux/abi/arch/*.h> would be my preference for an arch-specific
> subnamespace.
>
> Thus the rule is:
>
> a) <linux/abi/*> files MUST NOT include files outside <linux/abi/*>
>
> b) <linux/*.h> and <asm/*.h> are legacy namespaces. They should be
> considered to be completely different in kernel and userspace -- in
> effect, glibc will eventually ship with its own set of these headers.
>
> c) <linux/abi/*> files should be clean for inclusion from either kernel
> or userspace.
>

The only issue that we might have, is that <linux/abi/*> will once
again break many things. Sure, if we have to fix them once to get
this fixed for good, why not.

On the other hand, why not leave it at <linux/*.h> and <asm/*.h>
as the location of the ABI, and then move all kernel only
related stuff to <kernel/*.h> (or whatever, just the concept which
count ...) which can then include whatever it needs form the other
places (linux/asm)?


Regards,

--
Martin Schlemmer


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.063 / U:1.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site