Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1177088ybh; Mon, 13 Jul 2020 11:16:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwE79PpXjCQQqrKp24pZdaVB68XlKVHOtI32V8yDs+ihbDgPSTYODwuj5snEj75SWKIlb4w X-Received: by 2002:a17:906:b217:: with SMTP id p23mr999217ejz.98.1594664181313; Mon, 13 Jul 2020 11:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594664181; cv=none; d=google.com; s=arc-20160816; b=pFZU8DnaZwNK7g9Rt+AYucdqIzKG+JZpUnD6fCok0Pcw5+M6mnVfq0R9ty5FYHQiUn EUdbzeNmxPaY8FuaJu7GLw5YI2z9qluHnuun5Lo17Rf6gWmh6GG87CKwtHNSByft2lpr kbrmJRDAfebUvGxijLfOCOKeApMYWQvPehG9+G3qHBa0j7Mpo5xSYRhCADs9NuqPkxJ4 hlH7TS+ZWWaPzyXlsgUHV2q9rCDYHshqyU6qbx5VenClNGu+AJh/22ngnlqy0Z7m/+zd WUwTjqpq1vvlQ1EP3kuQR0ln2U/7us8vFaxfxY3mYOWn/gZgCQiBE/dPV6Zw+7D5q5Br 1Ciw== 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=MkituW+BmPfwAHfcoZiUb3hmcbwmK05ccSHwQZERzOk=; b=dSFJLBMTei/SczhnmU7VcfKxMmeQiIiILXHHtAbrIl0YKwVTR/0Pljk/sEEWWitnTp zS8ADpU3E9jli/dy3e8Ar7SAQhMuGI/Y1REgpKlNh7/tLozdIwQaMCbCAtqBfWWSgsZ3 l11uAO6crXg8TkzjAaB3D/fMkVP2SWWl3Jnrj3UowsSIbxw6ddBL8Lhi1TSN9RT+FYTf V8h5dPb26of5yiF47I475qQboCBX45FdhiFYfLtzPuBAoir1RKgwd4jwIE37RA0kgEyb MClqsNmqNeIbiCeLfM9pxt2lVetSqxqSM+go3peUEry67ul4pQXI3/ShpPCxPpR7/6nn 6XDg== 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 d21si8803125eja.703.2020.07.13.11.15.56; Mon, 13 Jul 2020 11:16:21 -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 S1729854AbgGMSPe (ORCPT + 99 others); Mon, 13 Jul 2020 14:15:34 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:37278 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729687AbgGMSPe (ORCPT ); Mon, 13 Jul 2020 14:15:34 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 6FE74BC09D; Mon, 13 Jul 2020 18:15:31 +0000 (UTC) From: "Alexander A. Klimov" To: James.Bottomley@HansenPartnership.com, deller@gmx.de, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] parisc: Replace HTTP links with HTTPS ones Date: Mon, 13 Jul 2020 20:15:25 +0200 Message-Id: <20200713181525.36812-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/parisc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 8e4c3708773d..c2454c153a6c 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -285,7 +285,7 @@ config SMP On a uniprocessor machine, the kernel will run faster if you say N. See also and the SMP-HOWTO - available at . + available at . If you don't know what to do here, say N. -- 2.27.0