Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89A1FC4363D for ; Thu, 24 Sep 2020 10:12:46 +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 22F2C21D24 for ; Thu, 24 Sep 2020 10:12:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WdmTpkjt"; dkim=fail reason="signature verification failed" (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 22F2C21D24 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.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=UrgT3q8hhS3GnOFFLOL7eJf3/GHRru+nGRzc1IUHegQ=; b=WdmTpkjtu0X1ZdkBwNKwUBOBDA JmuxPkYZ4ijUlpq00AKW4WXUSrit6KiomOyjlgl8zhNbTNFks8ZuXfjun6hG/J02JhMwRgVjbtQG/ CYY7ZFOwLEP+3gVH9eqJtG/tX7G2eajYOSt0zt4KJmrsIvTZN0p2DKUs6WxD2EjpdhHT2QoED5OaY RAzPF8MHHT6OyWfcVwarTANdxxp6EO2/7o4oSwqvhlwNULdl/mpBt7Rtm6W/FN8grQZEjXmFY7Lo+ G4yL5/z0cwfGE8ASTmrIDUWgaF6mHLjjPIeau3/BDh/z9s3yOo9sAYkOwtNqfIgZJJzqJe7UbDyxz 68B34hXw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLODm-0002zz-Rl; Thu, 24 Sep 2020 10:11:26 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kLODj-0002yb-6a for linux-arm-kernel@lists.infradead.org; Thu, 24 Sep 2020 10:11:24 +0000 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 , , , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200924_061124_040909_9D2FCF0D X-CRM114-Status: GOOD ( 14.57 ) 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: Alexandre Torgue , Maxime Coquelin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 . -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel