Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86086

Bug#860013: Bug#824442: <linux/if.h> and <net/if.h> conflict needs to be resolved

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#860013: Bug#824442: <linux/if.h> and <net/if.h> conflict needs to be resolved
Date 2025-02-22 21:20 +0100
Message-ID <Kj48F-1den-11@gated-at.bofh.it> (permalink)
References (7 earlier) <tuTSN-YM-3@gated-at.bofh.it> <tvbwl-3ZY-7@gated-at.bofh.it> <tvcC5-4Dw-1@gated-at.bofh.it> <rzgiE-HG-291@gated-at.bofh.it> <tvcC5-4Dw-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi,

On Tue, Apr 11, 2017 at 11:28:41PM +0100, Ben Hutchings wrote:
> Control: severity -1 important
> Control: severity 824442 important
> 
> On Tue, 2017-04-11 at 23:20 +0200, Aurelien Jarno wrote:
> > On 2017-04-11 03:35, Ben Hutchings wrote:
> > > Control: tag -1 moreinfo
> > > 
> > > On Mon, 10 Apr 2017 10:48:45 +0200 Aurelien Jarno <aurelien@aurel32.net> wrote:
> > > [...] 
> > > > Unfortunately I have been pointed on the libc-alpha mailing list that
> > > > it doesn't work if another file which includes <linux/libc-compat.h>
> > > > (e.g. <linux/xattr.h>) is included before <net/if.h>. The problem is
> > > > that the __UAPI_DEF_IF_* constants are set to 1 in <linux/libc-compat.h>
> > > > even if <linux/if.h> is not included.
> > > 
> > > [...]
> > > 
> > > Does this affect any real programs, or is this just theoretical (and
> > > therefore should be downgraded)?
> > 
> > It depends what do you mean by real program. I doubt it still affect
> > debian packages. The change has been introduced by kernel 4.5, and I
> > guess by now all the FTBFS have been fixed. At least for stretch, they
> > might be a few left in sid.
> 
> While the fix in the kernel is clearly incomplete, I think it must have
> worked for most programs.
> 
> > Now some of the fixes might not have reached upstream yet.
> > 
> > If we consider that acceptable, we can lower the severity of the bugs on
> > both the kernel and the glibc side.
> 
> Let's do that.

I see there were back in history two commits which had fixes for
4a91cb61bb99 ("uapi glibc compat: fix compile errors when glibc
net/if.h included before linux/if.h") .

Is there still something which needs to be done on either side (glibc,
kernel) or should we close this issue?

Regards,
Salvatore

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#860013: Bug#824442: <linux/if.h> and <net/if.h> conflict needs to be resolved Salvatore Bonaccorso <carnil@debian.org> - 2025-02-22 21:20 +0100
  Bug#860013: Bug#824442: <linux/if.h> and <net/if.h> conflict needs to be resolved Aurelien Jarno <aurel32@debian.org> - 2025-02-25 22:20 +0100

csiph-web