From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Thu, 5 Aug 2021 16:51:42 +0200 Subject: [LTP] [PATCH v4 3/3] Add setsockopt08, CVE-2021-22555 In-Reply-To: <20210805083539.20634-3-rpalethorpe@suse.com> References: <87a6lwmm6c.fsf@suse.de> <20210805083539.20634-1-rpalethorpe@suse.com> <20210805083539.20634-3-rpalethorpe@suse.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > +#include "tst_test.h" > +#include "tst_safe_net.h" > +#include "lapi/ip_tables.h" I've fixed the failure on Centos with missing IFNAMSIZ but this still fails to compile on ubuntu xenial because the tst_safe_net.h pull in netinet/in.h and lapi/ip_tables.h pulls in linux/in.h and on old enough systems these two headers does not like to be included at the same time. I'm not sure how to fix this, either we drop the include to linux/netfilter_ipv4/ip_tables.h completely or we add a configure check if netinet/in.h and linux/in.h could be included at the same time and ifdef the linux/netfilter_ipv4/ip_tables.h with that check. Either way both looks like a hack, if anyone has a better idea please suggest it. -- Cyril Hrubis chrubis@suse.cz