Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1193274ybh; Thu, 16 Jul 2020 05:56:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHi/Wf3voc2lmpCGLnyWtTxuaP5RGhr3ul7/y0eskCGYp2gyxZLa5yr4sCzzI2ZS5Kr6ue X-Received: by 2002:aa7:c31a:: with SMTP id l26mr4188092edq.61.1594904212949; Thu, 16 Jul 2020 05:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594904212; cv=none; d=google.com; s=arc-20160816; b=iB8zKcK+XeRjJXzsptmKAXVlf95ujNv+wao2N/FIcHmkjUIoLkvWajfIcZgDIDZx7W Wls4a8XqdSosOMQXkN5LC1BMa4WdK2zeVaIiG4wkOhmA5B1YkQ7pU+l7OJ/aUfHX3YUh jMHshxjW9JiPP03HHhCygDdwDSdJPAKuNIbx7H79r9oQyI3T67LjEfK4fT3XUSwVGDhF K8qStAwYIp5CiqXNMegE+eSZ//TEALwDFp/B6k39iLFOLE0+HIsArG/yaFHEzn3mPAKw 1j6vKduawhGE592Mww6Tj4t304g+b7FNQfg4FyzakU3CbQw+tkeS3PziclpwZWoYkdhm ieXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:references :in-reply-to:to:from; bh=TOf2za58EXcOECYHY0G+5QHvgGJviNnrr6TW2LsCvQE=; b=zQcuftuVq+TcGX8OrBEwj59HuJV8ynIy7XRpBC37CES+YMXiCOLTsrOv3Wvo0P+U/R vpwevJ3QBd/zKo+YjNceIBA4RYNwtH4cMqZ7F/OkI0tyuKBG7cFt2ikR6R7clL/kT+uK Fp++B1Iq2RdMwCjaHMdQRiDnsDa8VFGQkBS/NwgpQ5aCFNcVFw4ByVYMqKV5TyYoa7Rc zBwL7MGGrgzONPYtc5UT7+EHsTxk9r8RBS+63Jd0og0D301oocYI8GglrNFZxW1NGP+/ hqJRthM86zgnzWx1zj7qqc+L0nK/DtgArn5SylLWlzLGGuAYvo4AUeG2LcGViXF3aIT4 kkcw== 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 y8si3295050edm.463.2020.07.16.05.56.29; Thu, 16 Jul 2020 05:56:52 -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 S1728689AbgGPM4E (ORCPT + 99 others); Thu, 16 Jul 2020 08:56:04 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:46607 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728652AbgGPM4C (ORCPT ); Thu, 16 Jul 2020 08:56:02 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4B6vPn2Rw8z9sTX; Thu, 16 Jul 2020 22:55:56 +1000 (AEST) From: Michael Ellerman To: linux-kernel@vger.kernel.org, ajd@linux.ibm.com, arnd@arndb.de, fbarrat@linux.ibm.com, linuxppc-dev@lists.ozlabs.org, "Alexander A. Klimov" , gregkh@linuxfoundation.org In-Reply-To: <20200713175506.36676-1-grandmaster@al2klimov.de> References: <20200713175506.36676-1-grandmaster@al2klimov.de> Subject: Re: [PATCH] ocxl: Replace HTTP links with HTTPS ones Message-Id: <159490401723.3805857.13113660971237867416.b4-ty@ellerman.id.au> Date: Thu, 16 Jul 2020 22:55:56 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 Jul 2020 19:55:06 +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 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. Applied to powerpc/next. [1/1] ocxl: Replace HTTP links with HTTPS ones https://git.kernel.org/powerpc/c/07497137a5efa9b2628c18083e8b07b33160153d cheers