Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp795915ybt; Wed, 8 Jul 2020 11:53:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNnnsAlvcWWOhLFHuHrcPqUgh7FWJn76XStRmHFdYL43WRkgFQDC8Ubx5YJfCre6RO0/wy X-Received: by 2002:aa7:dc46:: with SMTP id g6mr63665242edu.194.1594234438637; Wed, 08 Jul 2020 11:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594234438; cv=none; d=google.com; s=arc-20160816; b=dlkwVYYySatreWc1KQMG1k5roCDEly83cf2oFxqfZeGXnYdN5lZbu3xG3HupJjWWa5 5P7MiE6DaJ8QE5MOXSHEmrQH/gFSPvRjFgt/A9k1bQ3nOuEWqJdZN3LyXslqM4yjAN9O WujML6zc7quHLH2NSCnCZSCT4gv25ymVfaZp81l+lTx0RptOynKTkgBgEDNQCB5gW0Y3 qI8fJePYBoXKhby9zMiXlTIbCebyMu8N3cM9BRudR47617yX6EG+UUeC4ITGnZ1utbWj 88c8C/xNeESeb9zDC/fSSPHW7D6OBopqEn9V56xJg5ZoaK2gFxhosBosjgm5WJVpRTdB 8/rQ== 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:dkim-signature; bh=YsG/BJdDPnseIyIEYc1rtPIY9uAYMOtMWxEry2DdXs4=; b=j0ZzTVLO+gRVon/ufhXZcHTOT9dHpMPiPFlLKUrVRxZiWIsNt164eXGOD88JBF4DQO vnA5B84+RPCzkuK5veCzKLEOqtkEJ5Tc71UNWBwBr8sDKFukMP/u0S9V86bu2YO+MY9P QCIa8tXWjnO5Oy4F1GYvhkdTWDjmyCsAxXpf/gv18vsziV+P+eoIoG/mPQY1Kt2OWzhv 856BiaOZJhJWRZUIgEa5KG5BLxkfmkdmJvNtgJ/p2CJq/LJwW+kj+0QXRH+6eAgp/uPm d6k6ecUhYiqfXSy60ySvC5xlhAG0PDjaC0btK3rv/JsBX9EUXpq4uccQV6TIpiCAptHB AOXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=taJns0Jz; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c25si426278ejd.178.2020.07.08.11.53.35; Wed, 08 Jul 2020 11:53:58 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=taJns0Jz; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726286AbgGHSvT (ORCPT + 99 others); Wed, 8 Jul 2020 14:51:19 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:41878 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbgGHSvS (ORCPT ); Wed, 8 Jul 2020 14:51:18 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 068Ip801090673; Wed, 8 Jul 2020 13:51:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1594234268; bh=YsG/BJdDPnseIyIEYc1rtPIY9uAYMOtMWxEry2DdXs4=; h=Subject:To:References:From:Date:In-Reply-To; b=taJns0JzuccXHyzAK2SR9Ej7WBGaI1MX7nCOofGBZ7Ds9E/oksaVPkyqbaSB1iQtD 7GFt68NfPxF0R3YQXmxyy5pS58S651hIziKr6Uaim7ezh4cSgHgQ2APaY+AV5sXtMC b3IjFq+mqtc3bdqDmuR/bfbpgvZlhpPLc4wpF428= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 068Ip8fR066885 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Jul 2020 13:51:08 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 8 Jul 2020 13:51:08 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 8 Jul 2020 13:51:08 -0500 Received: from [10.250.34.57] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 068Ip7MY049138; Wed, 8 Jul 2020 13:51:07 -0500 Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: hardware spinlock core To: "Alexander A. Klimov" , , , , , , References: <20200708033634.62197-1-grandmaster@al2klimov.de> From: Suman Anna Message-ID: Date: Wed, 8 Jul 2020 13:51:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200708033634.62197-1-grandmaster@al2klimov.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/7/20 10:36 PM, 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 Acked-by: Suman Anna > --- > 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 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. > Rationale: > I'd like not to submit patches much faster than you maintainers apply them. > > drivers/hwspinlock/hwspinlock_core.c | 2 +- > drivers/hwspinlock/hwspinlock_internal.h | 2 +- > drivers/hwspinlock/omap_hwspinlock.c | 2 +- > include/linux/hwspinlock.h | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/hwspinlock/hwspinlock_core.c b/drivers/hwspinlock/hwspinlock_core.c > index fd5f5c5a5244..09568b9246e1 100644 > --- a/drivers/hwspinlock/hwspinlock_core.c > +++ b/drivers/hwspinlock/hwspinlock_core.c > @@ -2,7 +2,7 @@ > /* > * Hardware spinlock framework > * > - * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com > + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com > * > * Contact: Ohad Ben-Cohen > */ > diff --git a/drivers/hwspinlock/hwspinlock_internal.h b/drivers/hwspinlock/hwspinlock_internal.h > index 29892767bb7a..318e257bb4fb 100644 > --- a/drivers/hwspinlock/hwspinlock_internal.h > +++ b/drivers/hwspinlock/hwspinlock_internal.h > @@ -2,7 +2,7 @@ > /* > * Hardware spinlocks internal header > * > - * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com > + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com > * > * Contact: Ohad Ben-Cohen > */ > diff --git a/drivers/hwspinlock/omap_hwspinlock.c b/drivers/hwspinlock/omap_hwspinlock.c > index 3b05560456ea..d4491588a49b 100644 > --- a/drivers/hwspinlock/omap_hwspinlock.c > +++ b/drivers/hwspinlock/omap_hwspinlock.c > @@ -2,7 +2,7 @@ > /* > * OMAP hardware spinlock driver > * > - * Copyright (C) 2010-2015 Texas Instruments Incorporated - http://www.ti.com > + * Copyright (C) 2010-2015 Texas Instruments Incorporated - https://www.ti.com > * > * Contact: Simon Que > * Hari Kanigeri > diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h > index bfe7c1f1ac6d..690810acea7f 100644 > --- a/include/linux/hwspinlock.h > +++ b/include/linux/hwspinlock.h > @@ -2,7 +2,7 @@ > /* > * Hardware spinlock public header > * > - * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com > + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com > * > * Contact: Ohad Ben-Cohen > */ >