Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1042874ybt; Wed, 8 Jul 2020 19:19:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyav2z1bZOebbkVqtQHtaX6oOVQoWGtI6dlQDWzxobCzcqlJpaS7bDA0DgCnjd+laNapiVr X-Received: by 2002:a05:6402:1655:: with SMTP id s21mr67620646edx.289.1594261199095; Wed, 08 Jul 2020 19:19:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594261199; cv=none; d=google.com; s=arc-20160816; b=ctMQBQN4e8H4BsyaHbJA6YtkD1q3OjZi+WQwPu1x0cXUvbuHpYnxN7q8YThTvgEhHl QAZe5AGn6xF0alimaWXXNQsrxqjNpuze6Ss0unvqny1EuSWsChmbyhdvXbDt+dMyLnvx tThC9ctMC7Q3tX/VWe4WxnVzUbaaoQkD9mwlvFzSL+RoRiYWpMn4WRW2+pl7mVLhr2wv zvgHXjvFbkygGluYWme6fi2Q6jOCsH15Y19PTdbyFvIGcZ/BGsfRFr32AinrJpVOmFGt 7CXOnniwgKp23u7MmdryU5jXwAbnm/dX6UbKzt9ukHJAkS5fRzj6akdiHl9PKPvTzVfM E3+A== 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=KvEw83cww9A3xqCj1sGJbdGJcz+1E9Gsqbs0jpeN0GA=; b=vVtl2mXUKPftZJGsBpYgoCE7aIGhY3m7j/pe4z/jCO9aFYtGqInDwANPoYQmY7wxxV RmfEFC/KBLrKzn9xTajbdOFf2jt0pN58d6LEYlS0gsNWT1XK7ZgzdDfmCle6XF3/kjj7 2Bvh9xj0E4glu97JlZ1WCDIRVy3f+9PgCljDfp4Shqp8Uowc1TCAMRt7qVyOrIgu1EHd cTK7SA3xMxvUd5oIgfc8FJjuto0Q0N4XcSZbjLdRg4cnbs1i9cVy96bwjYTLoANL1n51 qgMgQbKf080IFdjKaqS8m4dXusN3DPb+jdfy7CuwYWrqoa+QjwEaVklz3TiOAfjcrk3P u2eQ== 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 p25si1149210edx.347.2020.07.08.19.19.36; Wed, 08 Jul 2020 19:19:59 -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 S1726276AbgGICRw (ORCPT + 99 others); Wed, 8 Jul 2020 22:17:52 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:40826 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726107AbgGICRw (ORCPT ); Wed, 8 Jul 2020 22:17:52 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id A8722BC0D4; Thu, 9 Jul 2020 02:17:48 +0000 (UTC) From: "Alexander A. Klimov" To: ysato@users.sourceforge.jp, dalias@libc.org, broonie@kernel.org, sboyd@kernel.org, arnd@arndb.de, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] SUPERH: Replace HTTP links with HTTPS ones Date: Thu, 9 Jul 2020 04:17:37 +0200 Message-Id: <20200709021737.22667-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 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. arch/sh/Kconfig | 4 ++-- arch/sh/boards/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 9fc2b010e938..bc91bdb0b665 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -74,7 +74,7 @@ config SUPERH The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast gaming console. The SuperH port has a home page at - . + . config GENERIC_BUG def_bool y @@ -630,7 +630,7 @@ config SMP Y to "Enhanced Real Time Clock Support", below. See also and the SMP-HOWTO - available at . + available at . If you don't know what to do here, say N. diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index fb0ca0c1efe1..cbfe32eba3d9 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig @@ -130,7 +130,7 @@ config SH_DREAMCAST depends on CPU_SUBTYPE_SH7091 help Select Dreamcast if configuring for a SEGA Dreamcast. - More information at + More information at config SH_SH03 bool "Interface CTP/PCI-SH03" -- 2.27.0