Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1544639ybh; Mon, 20 Jul 2020 00:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSnh3PB8ekJUrb37jd/N2fZCOhCS6mOw0BJEUCFSxbMknW1XikKe+L3D+S/8KCB2sJwGlU X-Received: by 2002:a05:6402:2067:: with SMTP id bd7mr19928219edb.143.1595230342245; Mon, 20 Jul 2020 00:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595230342; cv=none; d=google.com; s=arc-20160816; b=HaqpdmvuArPHUKHAyUDMITO+9fbq6RS3Mx74OW+IrFOYgfDMleyE9jUZWF1MVS0pxx rHjGbJOeg/dNbRCLc4Qy0HPw+I17og5OckzTlxXuq33J5UUFtze2EFijRO+58NZkp6Pn ajNYrFN83tcLw/7ahtp7tZkvnwLuBYjerfXBeygr2k2IIbv7qZSl5e55Ifo4E8E3W4iC VHwutMahUFP1RDwPsI7sUS86HdHhvpNFA9dhr5sv/VpIisOWEV1Fihcv9CWXE+8mK1El Ma1xgfaqp5zW0F79wZXlxXMBsUHmaJx7QXLqf9EBqVojTPHgChDbb+m3W6DssxcEUBHP pO6w== 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; bh=AzQnvR5kJkDtx6zyShWm5VdwMoxqgRjvX/jcP5Vuii8=; b=G/+cZ0o3qEZinMXTyIgCciStRqa4N2+LGaTUtkSGpzBNzTaLO0RsH4BLyNKl+8sETf apje4gBDPPiTDVLozS2KJHDCLlIcYGVt5Wct79Tb5yaHAdnHvp1tkplGKDPATZAa6MZR WMzcnEgw9j48Zm1qsqU9zO6fOOcuB8y88mDbdQy2JOvDEV9+vpmqA34CPri2NyCFlJWT hl66TLeBIAVNTJIzz+NPzCdu7HgdqGtXxZi9Q0BljlkaZ8uMJznyb5EsNmJyX1mHwlRg 0m6c70dVTq9pqQCLmIEtVdo1gyeu/4BRUeRKWycsbdYlNhD4yBA+2vaWRJw+LaWLtYJm zPug== 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 t28si10351012edc.97.2020.07.20.00.31.59; Mon, 20 Jul 2020 00:32:22 -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 S1726994AbgGTHaq (ORCPT + 99 others); Mon, 20 Jul 2020 03:30:46 -0400 Received: from proxima.lasnet.de ([78.47.171.185]:45164 "EHLO proxima.lasnet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbgGTHap (ORCPT ); Mon, 20 Jul 2020 03:30:45 -0400 Received: from localhost.localdomain (p200300e9d7371614ec13d59c95910a08.dip0.t-ipconnect.de [IPv6:2003:e9:d737:1614:ec13:d59c:9591:a08]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: stefan@datenfreihafen.org) by proxima.lasnet.de (Postfix) with ESMTPSA id 3004EC237B; Mon, 20 Jul 2020 09:30:43 +0200 (CEST) Subject: Re: [PATCH for v5.9] net: ieee802154: adf7242: Replace HTTP links with HTTPS ones To: "Alexander A. Klimov" , michael.hennerich@analog.com, alex.aring@gmail.com, davem@davemloft.net, kuba@kernel.org, linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200719113142.58304-1-grandmaster@al2klimov.de> From: Stefan Schmidt Message-ID: <03503036-0f13-7bde-5d11-6d7f61fad37e@datenfreihafen.org> Date: Mon, 20 Jul 2020 09:30:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200719113142.58304-1-grandmaster@al2klimov.de> Content-Type: text/plain; charset=utf-8; format=flowed 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. On 19.07.20 13:31, 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 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! :) > > > drivers/net/ieee802154/adf7242.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c > index 5a37514e4234..60a016a6806a 100644 > --- a/drivers/net/ieee802154/adf7242.c > +++ b/drivers/net/ieee802154/adf7242.c > @@ -4,7 +4,7 @@ > * > * Copyright 2009-2017 Analog Devices Inc. > * > - * http://www.analog.com/ADF7242 > + * https://www.analog.com/ADF7242 > */ > > #include > This patch has been applied to the wpan tree and will be part of the next pull request to net. Thanks! regards Stefan Schmidt