From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: src: remove dependency on libiptc headers Date: Tue, 05 Aug 2008 08:58:52 +0200 Message-ID: <4897FA2C.30705@netfilter.org> References: <489444E1.8060303@netfilter.org> <48944A98.8050202@netfilter.org> <489713B7.10909@netfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kaber@trash.net, Netfilter Developer Mailing List To: Jan Engelhardt Return-path: Received: from mail.us.es ([193.147.175.20]:51684 "EHLO us.es" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751608AbYHFB6t (ORCPT ); Tue, 5 Aug 2008 21:58:49 -0400 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: > On Monday 2008-08-04 10:35, Pablo Neira Ayuso wrote: >>> The API actually remains the same, due to the nature of char[] >>> decaying into char* (and .name is also only used in the registrator); >>> the ABI (indicated by XTABLES_VERSION) changes yes, and that is fine >>> because we moved from 1.4.1 to 1.4.2-rc1. >> Sure, but say that someone uses whatever iproute2 version <= >> iproute2-2.6.26 - which does not check for any ABI version numbering >> AFAICS - and then it compiles whatever >= 1.4.2-rc1 by hand, then >> jamal's ipt thing will not work as they use different ABIs. >> >> I'm not talking on how to solve future interdependecy problems - which >> you seems to have it done by exporting xtables as library - but the >> problems that the size change of .name will trigger for some time. > > If the ABI changes, the libxtables.so ABI version number just get > bumped, that is what they are there for. Great. You're breaking previous backward compatibility with old iproute2 versions since they are not checking that number. -- "Los honestos son inadaptados sociales" -- Les Luthiers