Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1982505ybh; Tue, 14 Jul 2020 12:15:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY1FEZF85fBMuNEgu0cj+iOW4zEyYkem3dG2cMP/sCJa9ImgUJl2p+mrgYHiEzxibXurw9 X-Received: by 2002:a17:906:2c53:: with SMTP id f19mr6153215ejh.523.1594754107408; Tue, 14 Jul 2020 12:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594754107; cv=none; d=google.com; s=arc-20160816; b=dIIVNde0rU6EV0gBFtipn1meKRzeJDXdILwcJROmKdRsMWkH4zLK8rsA5odhCKNDCS vvP3eqFwXfvkrmUXyakMfAiRBV7YFGkjSAKBxZBkYXcR6/LdO0Cpe8faXG83rgC3XTht OvdC7NaWJERgKxheQfUxzmElGvmJ5DP9PrRFd6WY8V9QCEBSZcS6iu7opmsgV3tVStgp R73sqMWp5erbF80EtoqOAK0xW7O8YuH/zHjxL9FurAmTBfW020Zwfw1c5AJyW/i8/r9e 1dxTNUrcSH5kq5aiwc6yzWteAypRJcv+fiDZ8SNyGBnGsmg0OJuzzIYkWghml0rE8iIc aYJQ== 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 :references:in-reply-to:message-id:date:subject:to:from; bh=3qc7yYBKy6fpHJ36COmuOCD9EQ2BBPmcisZG+C6qvxY=; b=fBTOUHg9fcnC3gVTxpvVVBP7ysZRqQHSTnFizsLtc5F9KlvSTTPVZwADemnXN3D6Q7 9MG8ZdrD3feq8rEfjkXVURYm7SAKNAgg+NEAUZCAmJuoqawpEAihKW5bWN0lgSY+2IeZ 9v2HtZ9LjDiJfEszhATvJVSjVV2hDVrDYw2npJc0w2l9iaI0Vw49YdcG4w0DMONuJn38 KdW3AvjXDrPfzEJP8/JYlc62xW7V6JhxowUHo/p7MyAv0XsOZJCC13LGoxAsfUbpzgu4 nL5qOLFwalOJe/Yaeg131YbH5CPBPleqxRCXb3Idq1aCap1XiDRDVXvRuqFpzm6+v43r pb/g== 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 e9si9874388ejj.498.2020.07.14.12.14.44; Tue, 14 Jul 2020 12:15:07 -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 S1729769AbgGNTMh (ORCPT + 99 others); Tue, 14 Jul 2020 15:12:37 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:32920 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728117AbgGNTMf (ORCPT ); Tue, 14 Jul 2020 15:12:35 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id EE3A0BC0D1; Tue, 14 Jul 2020 19:12:32 +0000 (UTC) From: "Alexander A. Klimov" To: tsbogend@alpha.franken.de, grandmaster@al2klimov.de, paulburton@kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mips: Replace HTTP links with HTTPS ones Date: Tue, 14 Jul 2020 21:12:26 +0200 Message-Id: <20200714191226.48652-1-grandmaster@al2klimov.de> In-Reply-To: <59938583-2ce4-c7bf-c454-89a1559be846@flygoat.com> References: <59938583-2ce4-c7bf-c454-89a1559be846@flygoat.com> 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 --- arch/mips/Kconfig | 2 +- arch/mips/include/asm/war.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 6fee1a133e9d..eaf7519e3033 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2825,7 +2825,7 @@ config SMP Y to "Enhanced Real Time Clock Support", below. See also the SMP-HOWTO available at - . + . If you don't know what to do here, say N. diff --git a/arch/mips/include/asm/war.h b/arch/mips/include/asm/war.h index 1eedd596a064..e43f800e662d 100644 --- a/arch/mips/include/asm/war.h +++ b/arch/mips/include/asm/war.h @@ -121,7 +121,7 @@ * operate correctly if the internal data cache refill buffer is empty. These * CACHE instructions should be separated from any potential data cache miss * by a load instruction to an uncached address to empty the response buffer." - * (Revision 2.0 device errata from IDT available on http://www.idt.com/ + * (Revision 2.0 device errata from IDT available on https://www.idt.com/ * in .pdf format.) */ #ifndef R4600_V2_HIT_CACHEOP_WAR -- 2.27.0