Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp333450pxa; Wed, 26 Aug 2020 11:53:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyv5BgZaSDaguXVjpNS2ZDfytiy+fGiRBvu/gPmCrMuBNp3DU7zMGxOs6ZQ6xWZlld/685Q X-Received: by 2002:a17:906:d282:: with SMTP id ay2mr16468721ejb.265.1598468016669; Wed, 26 Aug 2020 11:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598468016; cv=none; d=google.com; s=arc-20160816; b=nrgjx69BiMXgI0aYOajna07XXmaLYp2ZZFUK4MELSfC5zOBTIwuBQfPfmQJ1+hDUDG kicx7ioi3qOx5GKYDVzdc7vEhECt2ms6V2XoPrbhB/PfZ4QjdoiCt58vXX4BXGUkXTrz sM3EMl7Vs/H1GLjaoHnRKRoybeYqCIQ9pIF06M1yxFv1qOCz2KAzovnxDPmb0DDKTiUo ESRxSWSM8kIQkdLegLkDIUNCYn114CxVkGi+UqapmmuVyqpFLupCTSnFAyWbLM1Rhpof sUAQaBswifBWp07KpUeRknVfS+7fMEgYrlAmab36kotuT34gGo1yG8uifJDoy9vmzHm7 xWqg== 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:cc:to:from; bh=DrWliuOAB90962um1WW5J1/qTu1mA6V48ak/vAiwhlw=; b=XzajWdOWzYsP7ws3Lt8fG83arTGG2XiXYrKzGXoShEgaBiStAFyzx//CRaFnxGopfg tgX/2fyWO+1VFdGVn5p+bMES/lvQOfnWkpdz9RpjPvMd+7HeHOF8lo7bijmNr94NoYTM 4u5v2OEficLwRYeFvxIQzPgI93ppElOGIHxdLBODLr2rgEfAILw9pYMpX56IQbBQuMw3 ya8FFhMnjdmdwmbWUihWq87j28ePutbP9+9HO1CilNZB5kDk3nTI6x93FYpXlAu/KkfG dInPIap5pfcrr92zUjEDgil5QvEGvaprRYI7sl6qPacmOS1eXcUQKthqKZ5Cg9jvK1Ns xwGQ== 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 24si2524837edv.581.2020.08.26.11.53.13; Wed, 26 Aug 2020 11:53:36 -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 S1726802AbgHZSwc (ORCPT + 99 others); Wed, 26 Aug 2020 14:52:32 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:53556 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbgHZSwY (ORCPT ); Wed, 26 Aug 2020 14:52:24 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id BFAC282FF7; Wed, 26 Aug 2020 18:52:19 +0000 (UTC) From: "Alexander A. Klimov" To: funaho@jurai.org, geert@linux-m68k.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH v2] m68k: Replace HTTP links with HTTPS ones Date: Wed, 26 Aug 2020 20:52:12 +0200 Message-Id: <20200826185212.3139-1-grandmaster@al2klimov.de> In-Reply-To: References: 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 --- v2: Thrown out de facto broken links. archive.org-ing is on my TODO list, but beyond this project's scope. arch/m68k/mac/macboing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/m68k/mac/macboing.c b/arch/m68k/mac/macboing.c index 388780797f7d..a904146dc4e6 100644 --- a/arch/m68k/mac/macboing.c +++ b/arch/m68k/mac/macboing.c @@ -116,7 +116,7 @@ static void mac_init_asc( void ) * support 16-bit stereo output, but only mono input." * * Technical Information Library (TIL) article number 16405. - * http://support.apple.com/kb/TA32601 + * https://support.apple.com/kb/TA32601 * * --David Kilzer */ -- 2.27.0