Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2213313ybh; Fri, 17 Jul 2020 12:01:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2sbQOcsembOg9G62Pj7dKwOjfqONkvaT/xFrcc9RLc9jePC/uA4ckCLYthVjOey5bz2a6 X-Received: by 2002:a50:d908:: with SMTP id t8mr10286742edj.373.1595012510236; Fri, 17 Jul 2020 12:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595012510; cv=none; d=google.com; s=arc-20160816; b=L0BBc6IzCkAcegSBuo9bTqfjZSXAKNcyCsPaH5RznDOSf2cw+Scp+G83S7j0Qi6Ln1 7061G6XZV0qUyzANYnwBIVQGzg4BA0XofENKsglCTAcWGi7Mt0iN8Viy+FcbIbwC1Nj2 hqe+AljGo17ugWVIOxVS0YEhbpkbugatqc54vW7szynK9UeF4w5hi+TV7UVyOSzUkdQN OvDbK2Rl+TvbOPN1aO18I7Db+REeLywuTFe9egUMBfqQiaYbkhGvXzuIuvTx2pkjQrc8 WVLK70MDF8ROyLWw8GV6mvBWlsaM6KOSv9dWiErFFwmooErkIrP8L5k3yrItiJh/6d+U Q0/Q== 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 :message-id:date:subject:cc:to:from; bh=PA0q/d9rPcnlWKaoTba+wjXqhPVzTlqxUx3S+boerwc=; b=tuFUFJXomUucj3ZET1uMq0adIimobOiJ1j63jpgdc02vxq7Tj9ljXAGXXVc35lkSc6 3PQh1yigorI65yPMbi8U070K/mtc5k/gGM+BaLudQtMGmjLZ8Ru+rQQ4YR3wTrJYps4P egzuMFNwhEXA1LMEZiLDAfLguvy+2vFhJMQHX71fjWNLUgVH/BCRDlZc343cdWaZ0/89 Kc5Vq/ALFZBB+1HIqvxHOta7rhuwvsRThm7Z8hiVoPTNQLUYbGfZdJ7WWPzD6ZbFs0EI U9p77TCHeRBJK76a2C+pRsJbhPxlKxp6wYwjNa/BLfSOajgxPuv4yLCLXP/xdAQUCLVD teYQ== 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 m25si5517506edr.11.2020.07.17.12.01.27; Fri, 17 Jul 2020 12:01:50 -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 S1728175AbgGQS7e (ORCPT + 99 others); Fri, 17 Jul 2020 14:59:34 -0400 Received: from smtp.al2klimov.de ([78.46.175.9]:36824 "EHLO smtp.al2klimov.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726650AbgGQS7d (ORCPT ); Fri, 17 Jul 2020 14:59:33 -0400 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 151DCBC070; Fri, 17 Jul 2020 18:59:30 +0000 (UTC) From: "Alexander A. Klimov" To: tomas.winkler@intel.com, arnd@arndb.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] mei: Replace HTTP links with HTTPS ones Date: Fri, 17 Jul 2020 20:59:25 +0200 Message-Id: <20200717185925.84102-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: +++++ X-Spam-Level: ***** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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. drivers/misc/mei/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfig index 9d7b3719bfa0..f5fd5b786607 100644 --- a/drivers/misc/mei/Kconfig +++ b/drivers/misc/mei/Kconfig @@ -9,7 +9,7 @@ config INTEL_MEI if selected /dev/mei misc device will be created. For more information see - + config INTEL_MEI_ME tristate "ME Enabled Intel Chipsets" -- 2.27.0