From nobody Sat Nov 23 20:43:42 2024 Received: from smtp-out.freemail.hu (fmfe12.freemail.hu [46.107.16.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 564B1219ED; Mon, 11 Nov 2024 16:46:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.107.16.205 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731343587; cv=none; b=QVQhsvDkrlOkDbbTp2Y53hh6480ydhTmCMzTPj+vj0x90vePRtqYSZlNeiS0IjqqbEdSzCzcgCWYgP3ckyzajQVUQNkfRrb0ktdVNOaQXPrRuracy8yGUAuCSK2RpdRIZGsqeJT+as6qf1sxLkeoSir35LJj5Dxb6/RNWB9QcjM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731343587; c=relaxed/simple; bh=DiGMD2vaU42Lw4N34D2zVVQanU4ucJyLB3x5BeoRT+k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XbU/P0zdtd5h/Vk3eXorvF00ZZMmjQxUlLfjlFgTqGrpk8l/o66w4/aw4POzLvHchGpoAmLMyFK9/1emxMR/8bHKDItbVuV7TUznHaxhSKuQBz4fAVLHsrkYAYqepQVetx8G1FwVzUgeG2Ud5LVUhSMgYb+1+O05mEMGRtXT6hg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freemail.hu; spf=pass smtp.mailfrom=freemail.hu; dkim=fail (2048-bit key) header.d=freemail.hu header.i=@freemail.hu header.b=MxqIMByx reason="signature verification failed"; arc=none smtp.client-ip=46.107.16.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freemail.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freemail.hu Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=freemail.hu header.i=@freemail.hu header.b="MxqIMByx" Received: from localhost.localdomain (catv-178-48-208-49.catv.fixed.vodafone.hu [178.48.208.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.freemail.hu (Postfix) with ESMTPSA id 4XnFc713lXztSh; Mon, 11 Nov 2024 17:38:47 +0100 (CET) From: egyszeregy@freemail.hu To: pablo@netfilter.org, kadlec@netfilter.org, davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: =?UTF-8?q?Benjamin=20Sz=C5=91ke?= Subject: [PATCH] netfilter: uapi: Fix file names for case-insensitive filesystem. Date: Mon, 11 Nov 2024 17:36:34 +0100 Message-ID: <20241111163634.1022-1-egyszeregy@freemail.hu> X-Mailer: git-send-email 2.47.0.windows.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/relaxed; t=1731343127; s=20181004; d=freemail.hu; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=9249; bh=MFJ0d0K4njkBR/5La38uPan3/vOgwnNgHuSkxd63V6I=; b=MxqIMByxB7IicqUVo0lEzpTN0JV2cUgSCMyWKkPZfnOSPb3HFD7wwVsaUVi3iGsg zUfcM3To0PgA4i0DrHQFwYS+pJGBzNHdC0Z3VPrJgBXofgQGbLClQmQY0rnapfYF3mO 77a+S9ao5pCs8MaS3K/Us7fybaIZrtqlFuVAf9xJvQPBSDsWFqu/fZmmJ/kWbOoz2lY sdzH+GDu51ETge0x2tW31cw6ahqeKZ6BMfNvt7UeUFODAHJumBXoA/tj2KGZusu9xPF wDMxGmJyRFtt8D9FK0JfCUImiztwza2YaixZ1tOXgDY/iiJLjKgtX36ta942pIZDL5Y IHzmYl11fw== From: Benjamin Sz=C5=91ke The goal is to fix Linux repository for case-insensitive filesystem, to able to clone it and editable on any operating systems. In netfilter, many of source files has duplaction with uppercase filename style. They was fixed by renaming. Signed-off-by: Benjamin Sz=C5=91ke --- .../netfilter/{xt_CONNMARK.h =3D> xt_CONNMARK_TARGET.h} | 0 .../uapi/linux/netfilter/{xt_DSCP.h =3D> xt_DSCP_TARGET.h} | 0 .../uapi/linux/netfilter/{xt_MARK.h =3D> xt_MARK_TARGET.h} | 0 .../linux/netfilter/{xt_RATEEST.h =3D> xt_RATEEST_TARGET.h} | 0 .../linux/netfilter/{xt_TCPMSS.h =3D> xt_TCPMSS_TARGET.h} | 0 .../linux/netfilter_ipv4/{ipt_ECN.h =3D> ipt_ECN_TARGET.h} | 2 +- .../linux/netfilter_ipv4/{ipt_TTL.h =3D> ipt_TTL_TARGET.h} | 0 .../linux/netfilter_ipv6/{ip6t_HL.h =3D> ip6t_HL_TARGET.h} | 0 net/ipv4/netfilter/Makefile | 2 +- net/ipv4/netfilter/{ipt_ECN.c =3D> ipt_ECN_TARGET.c} | 2 +- net/netfilter/Makefile | 8 ++++---- net/netfilter/{xt_DSCP.c =3D> xt_DSCP_TARGET.c} | 2 +- net/netfilter/{xt_HL.c =3D> xt_HL_TARGET.c} | 0 net/netfilter/{xt_RATEEST.c =3D> xt_RATEEST_TARGET.c} | 2 +- net/netfilter/{xt_TCPMSS.c =3D> xt_TCPMSS_TARGET.c} | 2 +- 15 files changed, 10 insertions(+), 10 deletions(-) rename include/uapi/linux/netfilter/{xt_CONNMARK.h =3D> xt_CONNMARK_TARGET= .h} (100%) rename include/uapi/linux/netfilter/{xt_DSCP.h =3D> xt_DSCP_TARGET.h} (100= %) rename include/uapi/linux/netfilter/{xt_MARK.h =3D> xt_MARK_TARGET.h} (100= %) rename include/uapi/linux/netfilter/{xt_RATEEST.h =3D> xt_RATEEST_TARGET.h= } (100%) rename include/uapi/linux/netfilter/{xt_TCPMSS.h =3D> xt_TCPMSS_TARGET.h} = (100%) rename include/uapi/linux/netfilter_ipv4/{ipt_ECN.h =3D> ipt_ECN_TARGET.h}= (95%) rename include/uapi/linux/netfilter_ipv4/{ipt_TTL.h =3D> ipt_TTL_TARGET.h}= (100%) rename include/uapi/linux/netfilter_ipv6/{ip6t_HL.h =3D> ip6t_HL_TARGET.h}= (100%) rename net/ipv4/netfilter/{ipt_ECN.c =3D> ipt_ECN_TARGET.c} (98%) rename net/netfilter/{xt_DSCP.c =3D> xt_DSCP_TARGET.c} (98%) rename net/netfilter/{xt_HL.c =3D> xt_HL_TARGET.c} (100%) rename net/netfilter/{xt_RATEEST.c =3D> xt_RATEEST_TARGET.c} (99%) rename net/netfilter/{xt_TCPMSS.c =3D> xt_TCPMSS_TARGET.c} (99%) diff --git a/include/uapi/linux/netfilter/xt_CONNMARK.h b/include/uapi/linu= x/netfilter/xt_CONNMARK_TARGET.h similarity index 100% rename from include/uapi/linux/netfilter/xt_CONNMARK.h rename to include/uapi/linux/netfilter/xt_CONNMARK_TARGET.h diff --git a/include/uapi/linux/netfilter/xt_DSCP.h b/include/uapi/linux/ne= tfilter/xt_DSCP_TARGET.h similarity index 100% rename from include/uapi/linux/netfilter/xt_DSCP.h rename to include/uapi/linux/netfilter/xt_DSCP_TARGET.h diff --git a/include/uapi/linux/netfilter/xt_MARK.h b/include/uapi/linux/ne= tfilter/xt_MARK_TARGET.h similarity index 100% rename from include/uapi/linux/netfilter/xt_MARK.h rename to include/uapi/linux/netfilter/xt_MARK_TARGET.h diff --git a/include/uapi/linux/netfilter/xt_RATEEST.h b/include/uapi/linux= /netfilter/xt_RATEEST_TARGET.h similarity index 100% rename from include/uapi/linux/netfilter/xt_RATEEST.h rename to include/uapi/linux/netfilter/xt_RATEEST_TARGET.h diff --git a/include/uapi/linux/netfilter/xt_TCPMSS.h b/include/uapi/linux/= netfilter/xt_TCPMSS_TARGET.h similarity index 100% rename from include/uapi/linux/netfilter/xt_TCPMSS.h rename to include/uapi/linux/netfilter/xt_TCPMSS_TARGET.h diff --git a/include/uapi/linux/netfilter_ipv4/ipt_ECN.h b/include/uapi/lin= ux/netfilter_ipv4/ipt_ECN_TARGET.h similarity index 95% rename from include/uapi/linux/netfilter_ipv4/ipt_ECN.h rename to include/uapi/linux/netfilter_ipv4/ipt_ECN_TARGET.h index e3630fd045b8..195a124f9bfa 100644 --- a/include/uapi/linux/netfilter_ipv4/ipt_ECN.h +++ b/include/uapi/linux/netfilter_ipv4/ipt_ECN_TARGET.h @@ -11,7 +11,7 @@ #define _IPT_ECN_TARGET_H =20 #include -#include +#include =20 #define IPT_ECN_IP_MASK (~XT_DSCP_MASK) =20 diff --git a/include/uapi/linux/netfilter_ipv4/ipt_TTL.h b/include/uapi/lin= ux/netfilter_ipv4/ipt_TTL_TARGET.h similarity index 100% rename from include/uapi/linux/netfilter_ipv4/ipt_TTL.h rename to include/uapi/linux/netfilter_ipv4/ipt_TTL_TARGET.h diff --git a/include/uapi/linux/netfilter_ipv6/ip6t_HL.h b/include/uapi/lin= ux/netfilter_ipv6/ip6t_HL_TARGET.h similarity index 100% rename from include/uapi/linux/netfilter_ipv6/ip6t_HL.h rename to include/uapi/linux/netfilter_ipv6/ip6t_HL_TARGET.h diff --git a/net/ipv4/netfilter/Makefile b/net/ipv4/netfilter/Makefile index 85502d4dfbb4..5bdb9dedcd63 100644 --- a/net/ipv4/netfilter/Makefile +++ b/net/ipv4/netfilter/Makefile @@ -39,7 +39,7 @@ obj-$(CONFIG_IP_NF_MATCH_AH) +=3D ipt_ah.o obj-$(CONFIG_IP_NF_MATCH_RPFILTER) +=3D ipt_rpfilter.o =20 # targets -obj-$(CONFIG_IP_NF_TARGET_ECN) +=3D ipt_ECN.o +obj-$(CONFIG_IP_NF_TARGET_ECN) +=3D ipt_ECN_TARGET.o obj-$(CONFIG_IP_NF_TARGET_REJECT) +=3D ipt_REJECT.o obj-$(CONFIG_IP_NF_TARGET_SYNPROXY) +=3D ipt_SYNPROXY.o =20 diff --git a/net/ipv4/netfilter/ipt_ECN.c b/net/ipv4/netfilter/ipt_ECN_TARG= ET.c similarity index 98% rename from net/ipv4/netfilter/ipt_ECN.c rename to net/ipv4/netfilter/ipt_ECN_TARGET.c index 5930d3b02555..5a18103a29b2 100644 --- a/net/ipv4/netfilter/ipt_ECN.c +++ b/net/ipv4/netfilter/ipt_ECN_TARGET.c @@ -14,7 +14,7 @@ =20 #include #include -#include +#include =20 MODULE_LICENSE("GPL"); MODULE_AUTHOR("Harald Welte "); diff --git a/net/netfilter/Makefile b/net/netfilter/Makefile index f0aa4d7ef499..277befb4d1e9 100644 --- a/net/netfilter/Makefile +++ b/net/netfilter/Makefile @@ -167,20 +167,20 @@ obj-$(CONFIG_NETFILTER_XT_TARGET_CHECKSUM) +=3D xt_CH= ECKSUM.o obj-$(CONFIG_NETFILTER_XT_TARGET_CLASSIFY) +=3D xt_CLASSIFY.o obj-$(CONFIG_NETFILTER_XT_TARGET_CONNSECMARK) +=3D xt_CONNSECMARK.o obj-$(CONFIG_NETFILTER_XT_TARGET_CT) +=3D xt_CT.o -obj-$(CONFIG_NETFILTER_XT_TARGET_DSCP) +=3D xt_DSCP.o -obj-$(CONFIG_NETFILTER_XT_TARGET_HL) +=3D xt_HL.o +obj-$(CONFIG_NETFILTER_XT_TARGET_DSCP) +=3D xt_DSCP_TARGET.o +obj-$(CONFIG_NETFILTER_XT_TARGET_HL) +=3D xt_HL_TARGET.o obj-$(CONFIG_NETFILTER_XT_TARGET_HMARK) +=3D xt_HMARK.o obj-$(CONFIG_NETFILTER_XT_TARGET_LED) +=3D xt_LED.o obj-$(CONFIG_NETFILTER_XT_TARGET_LOG) +=3D xt_LOG.o obj-$(CONFIG_NETFILTER_XT_TARGET_NETMAP) +=3D xt_NETMAP.o obj-$(CONFIG_NETFILTER_XT_TARGET_NFLOG) +=3D xt_NFLOG.o obj-$(CONFIG_NETFILTER_XT_TARGET_NFQUEUE) +=3D xt_NFQUEUE.o -obj-$(CONFIG_NETFILTER_XT_TARGET_RATEEST) +=3D xt_RATEEST.o +obj-$(CONFIG_NETFILTER_XT_TARGET_RATEEST) +=3D xt_RATEEST_TARGET.o obj-$(CONFIG_NETFILTER_XT_TARGET_REDIRECT) +=3D xt_REDIRECT.o obj-$(CONFIG_NETFILTER_XT_TARGET_MASQUERADE) +=3D xt_MASQUERADE.o obj-$(CONFIG_NETFILTER_XT_TARGET_SECMARK) +=3D xt_SECMARK.o obj-$(CONFIG_NETFILTER_XT_TARGET_TPROXY) +=3D xt_TPROXY.o -obj-$(CONFIG_NETFILTER_XT_TARGET_TCPMSS) +=3D xt_TCPMSS.o +obj-$(CONFIG_NETFILTER_XT_TARGET_TCPMSS) +=3D xt_TCPMSS_TARGET.o obj-$(CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP) +=3D xt_TCPOPTSTRIP.o obj-$(CONFIG_NETFILTER_XT_TARGET_TEE) +=3D xt_TEE.o obj-$(CONFIG_NETFILTER_XT_TARGET_TRACE) +=3D xt_TRACE.o diff --git a/net/netfilter/xt_DSCP.c b/net/netfilter/xt_DSCP_TARGET.c similarity index 98% rename from net/netfilter/xt_DSCP.c rename to net/netfilter/xt_DSCP_TARGET.c index cfa44515ab72..347335b0d69a 100644 --- a/net/netfilter/xt_DSCP.c +++ b/net/netfilter/xt_DSCP_TARGET.c @@ -14,7 +14,7 @@ #include =20 #include -#include +#include =20 MODULE_AUTHOR("Harald Welte "); MODULE_DESCRIPTION("Xtables: DSCP/TOS field modification"); diff --git a/net/netfilter/xt_HL.c b/net/netfilter/xt_HL_TARGET.c similarity index 100% rename from net/netfilter/xt_HL.c rename to net/netfilter/xt_HL_TARGET.c diff --git a/net/netfilter/xt_RATEEST.c b/net/netfilter/xt_RATEEST_TARGET.c similarity index 99% rename from net/netfilter/xt_RATEEST.c rename to net/netfilter/xt_RATEEST_TARGET.c index 4f49cfc27831..ca21d5da6833 100644 --- a/net/netfilter/xt_RATEEST.c +++ b/net/netfilter/xt_RATEEST_TARGET.c @@ -14,7 +14,7 @@ #include =20 #include -#include +#include #include =20 #define RATEEST_HSIZE 16 diff --git a/net/netfilter/xt_TCPMSS.c b/net/netfilter/xt_TCPMSS_TARGET.c similarity index 99% rename from net/netfilter/xt_TCPMSS.c rename to net/netfilter/xt_TCPMSS_TARGET.c index 116a885adb3c..fec2f0942fc6 100644 --- a/net/netfilter/xt_TCPMSS.c +++ b/net/netfilter/xt_TCPMSS_TARGET.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include =20 MODULE_LICENSE("GPL"); MODULE_AUTHOR("Marc Boucher "); --=20 2.47.0.windows.2