Re: iputils' glibc-bugs workarounds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David S. Miller wrote:
On Thu, 16 Oct 2003 18:28:11 -0700
Dan Kegel <dank@kegel.com> wrote:


Part 2: patch to linux kernel headers to not declare the conflicting types if not compiling kernel mode stuff:


I'm definitely not going to apply this.  If someone wants
to get the user API types from the kernel headers they very
much are allowed to do so if they are careful.

We don't gain anything by disallowing this completely.

I suppose we could surround the types in question with


#ifndef KLUDGE_GLIBC_ALREADY_DEFINED_IPV6_TYPES
...
#endif

instead of #ifdef __KERNEL__.  That would let glibc include those headers...
would that be acceptable?

- Dan


-- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux