From patchwork Sun Jul 19 09:29:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Alexander A. Klimov" X-Patchwork-Id: 11672333 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B26C31392 for ; Sun, 19 Jul 2020 09:31:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 896E120734 for ; Sun, 19 Jul 2020 09:31:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hhewtgVx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 896E120734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=al2klimov.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=KUFXl8YkcbpC6NRRKNo6d6RXcxx0FhNGkaxLjSinHPw=; b=hhewtgVxQ1ZyDBc1cKnpgVTRZn 1ce2legmkuPTjHvshVR+QUMxYwSe0LnV7dDW5UoSSXMnVgPZL0LJCWEUUrYEZlIhitdfSJcwrOt/Y zbmJdfa3ZQXBOBcD7jWfrFkSXw73OWjDyDaU5afWxSIkErfKpeKFyPloYRUNcjIS9TWPQEa0dhOC3 uFYK8jrnt3aD4jmXlHPJcc3kHPfYg3Y9IXqYCBFVSjwuxwuP0vgPnmOV7IDXWmsPjo2nxCC1u7AlU jz6CHFZsMTofQAxr077V0iQ8/4PWcQ6GLUPeU9hrJ+XPBUINtdb2yvTrdJqn7XDFZfEjN3rEcBmen fIr3dKyg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jx5dh-0002hh-5u; Sun, 19 Jul 2020 09:29:45 +0000 Received: from smtp.al2klimov.de ([78.46.175.9]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jx5dd-0002gy-9O for linux-arm-kernel@lists.infradead.org; Sun, 19 Jul 2020 09:29:42 +0000 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 9D8F4BC053; Sun, 19 Jul 2020 09:29:33 +0000 (UTC) From: "Alexander A. Klimov" To: linux@armlinux.org.uk, arnd@arndb.de, linus.walleij@linaro.org, vincenzo.frascino@arm.com, f.fainelli@gmail.com, bgolaszewski@baylibre.com, sboyd@kernel.org, geert+renesas@glider.be, gregory.0xf0@gmail.com, masahiroy@kernel.org, ndesaulniers@google.com, rppt@linux.ibm.com, akpm@linux-foundation.org, nico@fluxnic.net, stefan@agner.ch, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH for v5.9] ARM: Replace HTTP links with HTTPS ones Date: Sun, 19 Jul 2020 11:29:27 +0200 Message-Id: <20200719092927.57346-1-grandmaster@al2klimov.de> MIME-Version: 1.0 X-Spamd-Bar: ++++++ X-Spam-Level: ****** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de X-Spam: Yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200719_052941_545802_26A1EE4B X-CRM114-Status: GOOD ( 12.02 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Alexander A. Klimov" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov --- Continuing my work started at 93431e0607e5. See also: git log --oneline '--author=Alexander A. Klimov ' v5.7..master (Actually letting a shell for loop submit all this stuff for me.) If there are any URLs to be removed completely or at least not (just) HTTPSified: Just clearly say so and I'll *undo my change*. See also: https://lkml.org/lkml/2020/6/27/64 If there are any valid, but yet not changed URLs: See: https://lkml.org/lkml/2020/6/26/837 If you apply the patch, please let me know. Sorry again to all maintainers who complained about subject lines. Now I realized that you want an actually perfect prefixes, not just subsystem ones. I tried my best... And yes, *I could* (at least half-)automate it. Impossible is nothing! :) arch/arm/Kconfig | 4 ++-- arch/arm/mach-sa1100/Kconfig | 2 +- arch/arm/mm/proc-xscale.S | 2 +- arch/arm/tools/mach-types | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2ac74904a3ce..ce71c15fbc0e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -127,7 +127,7 @@ config ARM handhelds such as the Compaq IPAQ. ARM-based PCs are no longer manufactured, but legacy ARM-based PC hardware remains popular in Europe. There is an ARM Linux project with a web page at - . + . config ARM_HAS_SG_CHAIN bool @@ -1199,7 +1199,7 @@ config SMP See also , and the SMP-HOWTO available at - . + . If you don't know what to do here, say N. diff --git a/arch/arm/mach-sa1100/Kconfig b/arch/arm/mach-sa1100/Kconfig index 66e79fa9ba2b..f17f0460046b 100644 --- a/arch/arm/mach-sa1100/Kconfig +++ b/arch/arm/mach-sa1100/Kconfig @@ -159,7 +159,7 @@ config SA1100_SIMPAD FLASH. The SL4 version got 64 MB RAM and 32 MB FLASH and a PCMCIA-Slot. The version for the Germany Telecom (DTAG) is the same like CL4 in additional it has a PCMCIA-Slot. For more information - visit or . + visit or . config SA1100_SSP tristate "Generic PIO SSP" diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S index d82590aa71c0..a5e048ab6f7c 100644 --- a/arch/arm/mm/proc-xscale.S +++ b/arch/arm/mm/proc-xscale.S @@ -425,7 +425,7 @@ ENDPROC(xscale_dma_unmap_area) * * See erratum #25 of "Intel 80200 Processor Specification Update", * revision January 22, 2003, available at: - * http://www.intel.com/design/iio/specupdt/273415.htm + * https://www.intel.com/design/iio/specupdt/273415.htm */ .macro a0_alias basename .globl xscale_80200_A0_A1_\basename diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index 9e74c7ff6b04..e79be40e38cd 100644 --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types @@ -4,7 +4,7 @@ # # Up to date versions of this file can be obtained from: # -# http://www.arm.linux.org.uk/developer/machines/download.php +# https://www.arm.linux.org.uk/developer/machines/download.php # # Please do not send patches to this file; it is automatically generated! # To add an entry into this database, please see Documentation/arm/arm.rst,