From patchwork Thu Sep 24 10:11:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 11796895 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 C1BB1618 for ; Thu, 24 Sep 2020 10:11:21 +0000 (UTC) Received: by mail.kernel.org (Postfix) id BC10E239A1; Thu, 24 Sep 2020 10:11:21 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 A240B21D24; Thu, 24 Sep 2020 10:11:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=st.com header.i=@st.com header.b="Ow+GvWlr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A240B21D24 Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alexandre.torgue@st.com Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08OA6oTf018410; Thu, 24 Sep 2020 12:11:17 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=oCnRn2hkdcq+EFkqUDvs4JTSALGFhtSstrqs8Dg+qAI=; b=Ow+GvWlr57BJJ6sv+6UTeGxlyWIGedesHQVCN9f2RlaCdyYmM0je22uikq7sSdHnNXjf BQHldp9MyzSvpJPjdXQZBWEuDga+QMKzDJcv8uMj9s3TNpzxRI49NWbnnlWxIpAd0YJX a8woVTpYqgKu7vzNuEN8+7MouTGssDrTJkYuBIqW7tTqmU6aVtSLSVVyoWjcxwSUXaWr 4pA1BF7bQ90ShlqIFElJhJyyhTODRqmc024kr1jolgs2ozSpQX4uf3n4XTQaoYygx84y GMc/0LLgxjNWZvkjVDIQSv3pRnDCkGBbiGFOAH5BuyGmcIx7EtFcA93pz8R13oNAD5GR BQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 33n7f0351q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Sep 2020 12:11:17 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1958F100038; Thu, 24 Sep 2020 12:11:17 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 06B912A6FF8; Thu, 24 Sep 2020 12:11:17 +0200 (CEST) Received: from localhost (10.75.127.48) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 24 Sep 2020 12:11:16 +0200 From: Alexandre Torgue List-Id: To: Arnd Bergmann , Olof Johansson , Kevin Hilman , , , CC: Maxime Coquelin , Alexandre Torgue Subject: [PATCH] ARM: stm32: Replace HTTP links with HTTPS ones Date: Thu, 24 Sep 2020 12:11:13 +0200 Message-ID: <20200924101113.4528-1-alexandre.torgue@st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-24_05:2020-09-24,2020-09-24 signatures=0 From: "Alexander A. Klimov" 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 Signed-off-by: Alexandre Torgue --- Hi Arnd, Olof and Kevin, I only have this patch for STM32 SOC. Can you please merge it in soc tree? Thanks Alex diff --git a/arch/arm/mach-stm32/Makefile.boot b/arch/arm/mach-stm32/Makefile.boot index cec195d4fcba..5dde7328a7a9 100644 --- a/arch/arm/mach-stm32/Makefile.boot +++ b/arch/arm/mach-stm32/Makefile.boot @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only # Empty file waiting for deletion once Makefile.boot isn't needed any more. # Patch waits for application at -# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . +# https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 .