From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A7ACC433E0 for ; Mon, 6 Jul 2020 05:32:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1782C20771 for ; Mon, 6 Jul 2020 05:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594013535; bh=+xhdLSHUGF/WgF6ricbp0CeCBtWFGqA9eHhiSgW7/kU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=wZ+6wVqYZH1qitlKT4ruScuGo3cwoi17wrQAmHJCnrPtq/DPRQdDrB+HyRO9MA8Vr xa2vJ4QNJPxTl3QNl7f5Au+2VYlbWFFWwMSzgkhNnLnoqOjqiL0EcIV+ZEIqhABvq5 6VpOp/KlBL9/ylcvs31689XnhOL/6UYtjYRdaSj8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728848AbgGFFcO (ORCPT ); Mon, 6 Jul 2020 01:32:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:54060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728710AbgGFFcN (ORCPT ); Mon, 6 Jul 2020 01:32:13 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B19A20715; Mon, 6 Jul 2020 05:32:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594013533; bh=+xhdLSHUGF/WgF6ricbp0CeCBtWFGqA9eHhiSgW7/kU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NZmnaanXNI/MhrJJbh2lOAH1E1wHjwqAGyrxrTQIhStBzNrsfvEC63uyGD5Drx3J3 Wxk/zmmiBjOV2ExGerBNPTJFwNNo6oWeCTO4ybkIPAA5zV+XC6cMYvrzU6i8WQdoEC +gDxkYOuKLLcjmnLxCIZGVWb28sxsPfMdLWO6UEY= Date: Mon, 6 Jul 2020 08:32:09 +0300 From: Leon Romanovsky To: "Alexander A. Klimov" Cc: aditr@vmware.com, pv-drivers@vmware.com, dledford@redhat.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: VMWare PVRDMA driver Message-ID: <20200706053209.GC207186@unreal> References: <20200705214528.28561-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200705214528.28561-1-grandmaster@al2klimov.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 05, 2020 at 11:45:28PM +0200, 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 > --- All these links and text that surround them should be replaced with SPDX tags. Thanks