Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1220309ybh; Mon, 13 Jul 2020 12:27:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUS7+YH6TKdrp5gdBd3yti+Owy/bHzS/ePZSArkEw/GUuhFnQbmESr1hpda6ZBmFkxZ6Br X-Received: by 2002:a17:906:a242:: with SMTP id bi2mr1182502ejb.243.1594668475657; Mon, 13 Jul 2020 12:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594668475; cv=none; d=google.com; s=arc-20160816; b=diFUqW7SabLZucUnvd0bL35ny2t4cz0kFvAeqxviikX6wzCYVbXJ8SE1HHPZd1On5U luGXe9srwVRgvxdDRjsm0LOd+lb2qiP8ElgQwbFOzx/51red9InGOQKkPebyPuvjTl++ IjlQ/yLpEhsefiK085pfDvpY8ec/szbmI1BRThFDeIVia786qZlfAOTvT1bXvDyoAH5c Y3bjLk5kmqqmwExrLEuhDa9QSc/NidH0XJWwGsruM288nG1wLM+HBMh+DPcV0We7JFtU FzJxmmUFQBn+5l4EUXOuuCht4Z1HSqZbkSfrjcYv5w9OwDukjX4uDperWvp5vYwRh8rd aJXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=yP7DUV3oEFzmEu5qN/5Flbi/yrilKmcX3in38R9PAYo=; b=nTjmqBI9wJ6AfO5cg0tdaNMf15j22evCmCmByj1QXHBA79N0JnM7SD7cOPDCeUes/u +dTnPd3GpPtyhDxwPknISFBqbzri+zTLEnYJoNpbS5zLf40AsHya/8Uho1SS8f53wqX4 3evTRQqJcFI7uF3kscVeD/QuzJXCQbnjZdvjkhMu8brKQlL+gdbTA+7nVSkAXOtmfW7P PPWrgwSCL26KiMhy6VY0wCGIpzOwNVI+wtugA6zoQ2WmXqhcgCeY6Bxd5yPSXeF4l19p mD4BgIV4fzZfiU23eZULnEkexuIWUeD6eOEQAPOznLg6c6DdGplpkD3T9851xMkRGxBb YxvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e20si9819558edr.227.2020.07.13.12.27.30; Mon, 13 Jul 2020 12:27:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726506AbgGMT1G (ORCPT + 99 others); Mon, 13 Jul 2020 15:27:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726356AbgGMT1G (ORCPT ); Mon, 13 Jul 2020 15:27:06 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C82EC061755 for ; Mon, 13 Jul 2020 12:27:06 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 19BADBC053; Mon, 13 Jul 2020 19:27:02 +0000 (UTC) From: "Alexander A. Klimov" To: oss@buserror.net, mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] powerpc/Kconfig: Replace HTTP links with HTTPS ones Date: Mon, 13 Jul 2020 21:26:56 +0200 Message-Id: <20200713192656.37443-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: +++++ X-Spam-Level: ***** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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/powerpc/platforms/85xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index fa3d29dcb57e..b77cbb0a50e1 100644 --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig @@ -160,7 +160,7 @@ config XES_MPC85xx computers from Extreme Engineering Solutions (X-ES) based on Freescale MPC85xx processors. Manufacturer: Extreme Engineering Solutions, Inc. - URL: + URL: config STX_GP3 bool "Silicon Turnkey Express GP3" -- 2.27.0