[klibc] [patch] import socket defines
H. Peter Anvin
hpa at zytor.com
Wed Jan 2 10:09:56 PST 2008
Mike Frysinger wrote:
> On Tuesday 01 January 2008, H. Peter Anvin wrote:
>> Mike Frysinger wrote:
>>> The kernel __GLIBC__ hacks were re-added so as to appease klibc people,
>>> but the klibc people didnt actually fix the problem on their side. This
>>> patch imports the structures/defines that klibc seems to need. Build
>>> tested on x86_64 (i dont actually use klibc so no idea how to test it).
>> The whole point was to NOT need to replicate all these structures and
>> constants, which are part of the ABI, in klibc...
>
> then figure out a way that doesnt make the kernel headers blow for everyone
> else out there. change the __GLIBC__ crap to __KLIBC__ or something.
Seems the most logical thing to do would be to break out the small
portion that everyone wants into <linux/sockaddr.h> or somesuch, and
then remove those ifdefs entirely.
Proposed patch (still being tested) attached...
-hpa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-linux-socket.h-break-out-glibc-portions-into-l.patch
Type: text/x-patch
Size: 3780 bytes
Desc: not available
Url : http://www.zytor.com/pipermail/klibc/attachments/20080102/2422fd03/attachment.bin
More information about the klibc
mailing list