lkml.org 
[lkml]   [2004]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Linuxabi] Re: [ANNOUNCE] linux-libc-headers 2.6.3.0
Jeff Garzik wrote:
> Krzysztof Halasa wrote:
>
>> Sam Ravnborg <sam@ravnborg.org> writes:
>>
>>
>>> IIRC the current agreed scheme is something along the lines of this:
>>>
>>> abi/abi-linux/* Userspace relevant parts of include/linux
>>> abi/abi-asm/ symlink to abi/abi-$(ARCH)
>>> abi/abi-i386 i386 specific userland abi
>>> abi/abi-ppc ppc ....
>>
>>
>>
>> More efforts, no real effects.
>> I don't think we need such an infrastructure.
>> The normal headers should just be usable for user-space inclusion.
>
>
> No, this is a big pain :)
>
> The ABI headers shared with userspace need to be split from definitions
> that are only used in kernel space. #ifdef __KERNEL__ is a source of
> frustration :)
>

The biggest problem is that what is kernel ABI hasn't been very well
thought about. The result is that the split between the what the kernel
exports and what libc is supposed to provide itself is very haphazard.

And yes, #ifdef __KERNEL__ is a reflection of that.

-hpa
-
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 14:01    [W:0.058 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site