Re: missing(?) headers

Laurent Bercot <[email protected]> Thu, 6 Sep 2012 17:10:07 +0200
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
> In the beginning I included kernel headers as well, but then I asked
> Linus on the kernel mailing list and he said he does not want user space
> to include kernel headers, period, so I stopped doing it.

 I heard of it, and I assumed he meant "user space programs", with a
special exception for the libc...
 As of today, glibc and uClibc still include asm-generic/socket.h at
some point in sys/socket.h. Why isn't Linus yelling at them ?


> All the SO_* defines should be in <sys/socket.h>, am I right?

 Yes, that's what userland programs include to get those definitions.

-- 
 Laurent