From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 448 invoked by alias); 19 Aug 2013 18:40:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 418 invoked by uid 48); 19 Aug 2013 18:40:14 -0000 From: "bugdal at aerifal dot cx" To: glibc-bugs@sourceware.org Subject: [Bug network/15850] Glibc headers have conflicts with kernel headers on the definition of struct in6_addr Date: Mon, 19 Aug 2013 18:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bugdal at aerifal dot cx X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-08/txt/msg00090.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15850 --- Comment #3 from Rich Felker --- I don't see "C. Coordinate" as an alternative to the problems A and B above. The coordination only works with new post-coordination kernel header versions (problem A). Assuming glibc is still producing its own definitions rather than including the kernel headers (and just turning off its own definitions if the kernel version was already included), problem B does not occur in the case of strictly conforming applications which are not including the linux/*.h headers. However, there's still the possibility of unexpected inconsistency for applications which do use linux/*.h. I'm not sure what the intended usage case you're trying to support is. If your intent is that the headers roughly match, then it seems like applications should not be including the linux ones, and I'm not sure why it's more desirable to "support" this case and get it 90-99% "right" instead of just documenting that it's wrong (and possibly even using #error to correct this bad practice). -- You are receiving this mail because: You are on the CC list for the bug.