On 08/07/2020 21:19, 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 <grandmas...@al2klimov.de>

Acked-by: Tero Kristo <t-kri...@ti.com>

Santosh, are you going to pick this up?

-Tero

---
  Continuing my work started at 93431e0607e5.
  See also: git log --oneline '--author=Alexander A. Klimov 
<grandmas...@al2klimov.de>' v5.7..master
  (Actually letting a shell for loop submit all this stuff for me.)

  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.


  drivers/soc/ti/k3-ringacc.c        | 2 +-
  drivers/soc/ti/knav_qmss.h         | 2 +-
  drivers/soc/ti/knav_qmss_acc.c     | 2 +-
  drivers/soc/ti/knav_qmss_queue.c   | 2 +-
  drivers/soc/ti/omap_prm.c          | 2 +-
  drivers/soc/ti/pm33xx.c            | 2 +-
  drivers/soc/ti/ti_sci_inta_msi.c   | 2 +-
  drivers/soc/ti/ti_sci_pm_domains.c | 2 +-
  8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c
index 5fb2ee2ac978..036d89aa3e2b 100644
--- a/drivers/soc/ti/k3-ringacc.c
+++ b/drivers/soc/ti/k3-ringacc.c
@@ -2,7 +2,7 @@
  /*
   * TI K3 NAVSS Ring Accelerator subsystem driver
   *
- * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com
   */
#include <linux/dma-mapping.h>
diff --git a/drivers/soc/ti/knav_qmss.h b/drivers/soc/ti/knav_qmss.h
index a01eda720bf6..b815aed8f365 100644
--- a/drivers/soc/ti/knav_qmss.h
+++ b/drivers/soc/ti/knav_qmss.h
@@ -2,7 +2,7 @@
  /*
   * Keystone Navigator QMSS driver internal header
   *
- * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com
   * Author:    Sandeep Nair <sandee...@ti.com>
   *            Cyril Chemparathy <cy...@ti.com>
   *            Santosh Shilimkar <santosh.shilim...@ti.com>
diff --git a/drivers/soc/ti/knav_qmss_acc.c b/drivers/soc/ti/knav_qmss_acc.c
index 1762d89fc05d..29670d47cdfd 100644
--- a/drivers/soc/ti/knav_qmss_acc.c
+++ b/drivers/soc/ti/knav_qmss_acc.c
@@ -2,7 +2,7 @@
  /*
   * Keystone accumulator queue manager
   *
- * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com
   * Author:    Sandeep Nair <sandee...@ti.com>
   *            Cyril Chemparathy <cy...@ti.com>
   *            Santosh Shilimkar <santosh.shilim...@ti.com>
diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c
index aa071d96ef36..feaead96ff93 100644
--- a/drivers/soc/ti/knav_qmss_queue.c
+++ b/drivers/soc/ti/knav_qmss_queue.c
@@ -2,7 +2,7 @@
  /*
   * Keystone Queue Manager subsystem driver
   *
- * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com
   * Authors:   Sandeep Nair <sandee...@ti.com>
   *            Cyril Chemparathy <cy...@ti.com>
   *            Santosh Shilimkar <santosh.shilim...@ti.com>
diff --git a/drivers/soc/ti/omap_prm.c b/drivers/soc/ti/omap_prm.c
index c9b3f9ebf0bb..06e9d59e75bf 100644
--- a/drivers/soc/ti/omap_prm.c
+++ b/drivers/soc/ti/omap_prm.c
@@ -2,7 +2,7 @@
  /*
   * OMAP2+ PRM driver
   *
- * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
   *    Tero Kristo <t-kri...@ti.com>
   */
diff --git a/drivers/soc/ti/pm33xx.c b/drivers/soc/ti/pm33xx.c
index de0123ec8ad6..9bd2da2758f4 100644
--- a/drivers/soc/ti/pm33xx.c
+++ b/drivers/soc/ti/pm33xx.c
@@ -2,7 +2,7 @@
  /*
   * AM33XX Power Management Routines
   *
- * Copyright (C) 2012-2018 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2012-2018 Texas Instruments Incorporated - https://www.ti.com/
   *    Vaibhav Bedia, Dave Gerlach
   */
diff --git a/drivers/soc/ti/ti_sci_inta_msi.c b/drivers/soc/ti/ti_sci_inta_msi.c
index 0eb9462f609e..8e439759b451 100644
--- a/drivers/soc/ti/ti_sci_inta_msi.c
+++ b/drivers/soc/ti/ti_sci_inta_msi.c
@@ -2,7 +2,7 @@
  /*
   * Texas Instruments' K3 Interrupt Aggregator MSI bus
   *
- * Copyright (C) 2018-2019 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2018-2019 Texas Instruments Incorporated - https://www.ti.com/
   *    Lokesh Vutla <lokeshvu...@ti.com>
   */
diff --git a/drivers/soc/ti/ti_sci_pm_domains.c b/drivers/soc/ti/ti_sci_pm_domains.c
index 8c2a2f23982c..771b0ab51872 100644
--- a/drivers/soc/ti/ti_sci_pm_domains.c
+++ b/drivers/soc/ti/ti_sci_pm_domains.c
@@ -2,7 +2,7 @@
  /*
   * TI SCI Generic Power Domain Driver
   *
- * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/
   *    J Keerthy <j-keer...@ti.com>
   *    Dave Gerlach <d-gerl...@ti.com>
   */


--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. 
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

Reply via email to