Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp95449ybt; Mon, 6 Jul 2020 05:01:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxc11jt1D6+R4+YWY2VqrYg7pva6KSoxqjIfof7tRzQ5Q5R4YUdwcNhfw8DCwLaF2O3K0CI X-Received: by 2002:aa7:d744:: with SMTP id a4mr55083737eds.94.1594036879769; Mon, 06 Jul 2020 05:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594036879; cv=none; d=google.com; s=arc-20160816; b=zZ+TikFafGPRF1+AKcSTe18EYwlNXIfKguxj3Is04vqbRKkkes0Q9XlOXY8nt4cAOJ 8xq/lPTemorBLAXfKW2+VD3Ur7NGyd96L9FvZryZGj55Dp0S70Oe/QtmVHnn6K7jp1S8 vlGazVC/B6KhYnhaw/BDHb1Y7ow1g1HXdAtUgj+8VQGZqmVSEuudOOAFE8brwRbhRED+ ZjQDIWUBYNOo7ygcXpLBLAGJ9ROheneFi/4XR/uES5NfRSPqqur3HXrMp9O/7iyqKbOw 7KTPmpxfAJPoZupD/2P7FhLG2TM9Jhcb9TB76P6bl01NU6aBxRq266H2fjvWtBKq+IWl qUbw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=cuGTDi2NhkVw3mmqGaWPQRxsrhDmvfo7KxDL1eoQp+c=; b=e+k6WV4zLq54Kn49PFXsZQ8p/SePp2jMB1eVV7aiG10KFIiaWDOEprss/y6yCRoIxq 19pN4Smaai5OZNT/qGsUSbFTulcuRYeh+7qKHaDn7Fco2IyPgd/JzDFshqZ+Pil2h8IN J4HUw4Tr5iTGWUOWGwnJP5NlJv1LmtQ7FqfrzHU1C6qWuBQJvECduNUmYiRksrqrU4K7 Fm4HA4cFDsBPDl81PW6QdFva2JzLDroHTsGSN+loJEAFwZbzSxSuH5oXXpVRQaBrK3Ze aBn0eNxYim7l6DbxlZLXnfb9b99RRz1tL/5fXf1lLY1Ey7V1EXapCCBWaAxq95+sv193 Md/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZzQyI7Ze; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o23si12331121ejx.620.2020.07.06.05.00.56; Mon, 06 Jul 2020 05:01:19 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZzQyI7Ze; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729107AbgGFMAc (ORCPT + 99 others); Mon, 6 Jul 2020 08:00:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729005AbgGFMAa (ORCPT ); Mon, 6 Jul 2020 08:00:30 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA4DBC061794 for ; Mon, 6 Jul 2020 05:00:29 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id q5so40517059wru.6 for ; Mon, 06 Jul 2020 05:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=cuGTDi2NhkVw3mmqGaWPQRxsrhDmvfo7KxDL1eoQp+c=; b=ZzQyI7ZeERp6bZfVxZejJdkriojsnlM1v3Oio0hBntvgLEldwhqjSiS+A0AFGAzhml 62iCXhdLeOagB8vjvNoG28lO8kcxKU3RW7g0ZJjPbzXr+/6wgaaNVsx53pAMSnl4lBti A1OwpjGRmzr3XSdJDbTKVq/4GbRE+/6NDBPuxfmCIAutev++aEDpyr+IeMVBklEhrRgc RLDbbQRZvdCYp5k9DH8PcaZvlqSD2E9pAcpBqJgNs34VrNV4CHfLBpOi6UPB5VbeQUp4 FOHHtYqCOXyUYGkjBjRYfHHzLvW4c37guXoilXbPtvRI63zLHPagc21i+Ek7KYESCs+D Srpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cuGTDi2NhkVw3mmqGaWPQRxsrhDmvfo7KxDL1eoQp+c=; b=iUDcyPcGQy7A+guTp99VgW8ZcLvyWfU5VWBB61Os3UMWAMzyTMrgN/57eZ0AwbIPS5 OP/aFeLqqK/aDGv5luESThbDS8dXWWE+XCXtauZTf0NVZBsUc1/h4liVsaVfmA9+f8ug 1EW53DgRen3rYH2obRh2XMDcSdLBJgtxAwMpwuJ7LxtrvDUzeX10fo4TkOZ4AfwpD1TB BmibZKhhIPhXmvoq1g0I37rggSITtEcOVkVA3A4O6fkOx+Sw8RTQg1U5LdKrJkwF2HUo KwvBvgCLqERDM7UhH1Du2LURMQUMS0OY2zuf7oDqHWtzHwv9WejKByjkl9DBCOb6ZAkx VcIw== X-Gm-Message-State: AOAM530yK7PHwgtJ8lmb6W1MUPqV+3ZuxS+yipg+jtyX7VqAV5ApeFO5 O5ZYT3XDPR3icA8WchaUR8DdYOXnL71gNw== X-Received: by 2002:adf:82e1:: with SMTP id 88mr28227012wrc.376.1594036828116; Mon, 06 Jul 2020 05:00:28 -0700 (PDT) Received: from [192.168.1.20] ([195.245.18.232]) by smtp.gmail.com with ESMTPSA id f197sm6943695wme.33.2020.07.06.05.00.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jul 2020 05:00:27 -0700 (PDT) Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: EP93XX To: "Alexander A. Klimov" , hsweeten@visionengravers.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200706062749.18552-1-grandmaster@al2klimov.de> From: Alexander Sverdlin Message-ID: <854a28f6-29f3-6087-0e19-b1be21a67ef5@gmail.com> Date: Mon, 6 Jul 2020 13:57:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20200706062749.18552-1-grandmaster@al2klimov.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Alexander, On 06/07/2020 08:27, Alexander A. Klimov wrote: > 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 both the HTTP and HTTPS versions > return 200 OK and serve the same content: > Replace HTTP with HTTPS. > > Signed-off-by: Alexander A. Klimov Acked-by: Alexander Sverdlin > --- > Continuing my work started at 93431e0607e5. > > 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 > > arch/arm/mach-ep93xx/clock.c | 2 +- > arch/arm/mach-ep93xx/soc.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c > index 2810eb5b2aca..48efefbb54f8 100644 > --- a/arch/arm/mach-ep93xx/clock.c > +++ b/arch/arm/mach-ep93xx/clock.c > @@ -571,7 +571,7 @@ static int __init ep93xx_clock_init(void) > /* > * EP93xx SSP clock rate was doubled in version E2. For more information > * see: > - * http://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf > + * https://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf > */ > if (ep93xx_chip_revision() < EP93XX_CHIP_REV_E2) > clk_spi.rate /= 2; > diff --git a/arch/arm/mach-ep93xx/soc.h b/arch/arm/mach-ep93xx/soc.h > index f2dace1c9154..9e4a3b245434 100644 > --- a/arch/arm/mach-ep93xx/soc.h > +++ b/arch/arm/mach-ep93xx/soc.h > @@ -28,7 +28,7 @@ > * Configurations. Please refer to "AN273: EP93xx Silicon Rev E Design > * Guidelines" for more information. This document can be found at: > * > - * http://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf > + * https://www.cirrus.com/en/pubs/appNote/AN273REV4.pdf > */ > > #define EP93XX_CS0_PHYS_BASE_ASYNC 0x00000000 /* ASDO Pin = 0 */