Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1259201ybt; Thu, 9 Jul 2020 02:38:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtSeiwgGbKNjmp5ZbeZtZSQE9zGJQ58hb+mgcecnGtj6v/dohehi5boGlo4V68yQBq3T3Z X-Received: by 2002:a17:906:ca57:: with SMTP id jx23mr53085538ejb.256.1594287492444; Thu, 09 Jul 2020 02:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594287492; cv=none; d=google.com; s=arc-20160816; b=OjfM5Uxb7Ay7udqBS8LJ6uMf2zJJVz7+SUNuOHrVXMo1bTkkB4K8D/lavsJBUjQ2aG HurQJX0u5K1zw2SiUYY4LOha7ldhSrFF8nvcf7gVbo4CfKOuBvcd7/j38yUskqo/TDg8 FxhoF2WASokDUioQRVG72sDzlH5IsFCCPQJm6epSi/SUh0F9uFOnXDx1LBvHZY7XORoJ smaFUxBXIvJCrOjF3rjsib6JYAvdBOrs6x2yU5onUevjizHS5Fdzi1HXorrTWtJQOA2h mQ/kBECmyUQ2gMJBtOTOSpLvkLBq65GgL3+KPlYw+/HC0jR/JepfZRbE+nep8y7hQZqm MUMQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=/OYTl3aDXXRsebARfX0wKgAxW3kDV86Zys8NqYro3Lo=; b=MW1zYmf+UihQEidtY6sqeM7Oc+FMe+WW8AjFv1qPeg2ucJWWYqEvMQskb1KRt+NhhD cWsdS0fyrROCXEFiHN07xcWS5WtodROda5Ik0Tfdx2OPNj72sLEIeO0Jud94jrsvt+KQ wr4rby0D5jjrfNvGie9zWgKKgaNNuArnESwYmynwX6ChBJhH2GNRle6tfpwoPE0ZAP27 fMOJ1/1mb2927ZfPWcpVljDthrl1aonOssGUcuZY7ubtRTQcZ25S45CsCSLgTkz6Jd6U U2fFwMxQgw9t7SrhNu7uDvwitBHR3hzTVUU8NAL0RnfL+csX9ZLK6wpUGK7DCAraYATu xKRQ== 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 lk3si1487715ejb.653.2020.07.09.02.37.49; Thu, 09 Jul 2020 02:38:12 -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 S1726442AbgGIJh0 (ORCPT + 99 others); Thu, 9 Jul 2020 05:37:26 -0400 Received: from mx2.suse.de ([195.135.220.15]:37030 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbgGIJh0 (ORCPT ); Thu, 9 Jul 2020 05:37:26 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 1E4C4B028; Thu, 9 Jul 2020 09:37:25 +0000 (UTC) Date: Thu, 9 Jul 2020 11:37:24 +0200 From: Jean Delvare To: "Alexander A. Klimov" Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: DMI/SMBIOS SUPPORT Message-ID: <20200709113724.14fa9e0b@endymion> In-Reply-To: <20200708143756.14813-1-grandmaster@al2klimov.de> References: <20200708143756.14813-1-grandmaster@al2klimov.de> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 08 Jul 2020 16:37:56 +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. > > Signed-off-by: Alexander A. Klimov > --- > (...) > If you apply the patch, please let me know. > > > drivers/firmware/dmi_scan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > (...) Applied, thanks. -- Jean Delvare SUSE L3 Support