lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120110110749.42c1252a@nehalam.linuxnetplumber.net>
Date:	Tue, 10 Jan 2012 11:07:49 -0800
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Stephen Hemminger <shemminger@...tta.com>
Cc:	Pavel Emelyanov <xemul@...allels.com>,
	David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: Iproute2 build broken by current kernel headers

On Tue, 10 Jan 2012 10:54:09 -0800
Stephen Hemminger <shemminger@...tta.com> wrote:

> The update to inet diag broke compatibility with exported headers.
> Iproute2 uses sanitized kernel headers.
> 
> gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\"   -c -o ss.o ss.c
> ss.c: In function ‘tcp_show_netlink’:
> ss.c:1504:7: error: ‘struct inet_diag_req’ has no member named ‘idiag_family’
> make[1]: *** [ss.o] Error 1

The structures need to be swapped to maintain source compatibility.
inet_diag_req_compat needs to be renamed back to inet_diag_req
inet_diag_req should be named something like inet_diag_req_generic


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ