Commit 10623b87 authored by Alexander A. Klimov's avatar Alexander A. Klimov Committed by Greg Kroah-Hartman

usb: dwc3: Replace HTTP links with HTTPS ones

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: default avatarAlexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200711135804.19735-1-grandmaster@al2klimov.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d6c3c6c0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* core.c - DesignWare USB3 DRD Controller Core file * core.c - DesignWare USB3 DRD Controller Core file
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* core.h - DesignWare USB3 DRD Core Header * core.h - DesignWare USB3 DRD Core Header
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* debug.h - DesignWare USB3 DRD Controller Debug Header * debug.h - DesignWare USB3 DRD Controller Debug Header
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* debugfs.c - DesignWare USB3 DRD Controller DebugFS file * debugfs.c - DesignWare USB3 DRD Controller DebugFS file
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* drd.c - DesignWare USB3 DRD Controller Dual-role support * drd.c - DesignWare USB3 DRD Controller Dual-role support
* *
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Roger Quadros <rogerq@ti.com> * Authors: Roger Quadros <rogerq@ti.com>
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* dwc3-keystone.c - Keystone Specific Glue layer * dwc3-keystone.c - Keystone Specific Glue layer
* *
* Copyright (C) 2010-2013 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2013 Texas Instruments Incorporated - https://www.ti.com
* *
* Author: WingMan Kwok <w-kwok2@ti.com> * Author: WingMan Kwok <w-kwok2@ti.com>
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* dwc3-of-simple.c - OF glue layer for simple integrations * dwc3-of-simple.c - OF glue layer for simple integrations
* *
* Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com * Copyright (c) 2015 Texas Instruments Incorporated - https://www.ti.com
* *
* Author: Felipe Balbi <balbi@ti.com> * Author: Felipe Balbi <balbi@ti.com>
* *
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* dwc3-omap.c - OMAP Specific Glue layer * dwc3-omap.c - OMAP Specific Glue layer
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* dwc3-pci.c - PCI Specific glue layer * dwc3-pci.c - PCI Specific glue layer
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* ep0.c - DesignWare USB3 DRD Controller Endpoint 0 Handling * ep0.c - DesignWare USB3 DRD Controller Endpoint 0 Handling
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link * gadget.c - DesignWare USB3 DRD Controller Gadget Framework Link
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* gadget.h - DesignWare USB3 DRD Gadget Header * gadget.h - DesignWare USB3 DRD Gadget Header
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
* host.c - DesignWare USB3 DRD Controller Host Glue * host.c - DesignWare USB3 DRD Controller Host Glue
* *
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* io.h - DesignWare USB3 DRD IO Header * io.h - DesignWare USB3 DRD IO Header
* *
* Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
* *
* Authors: Felipe Balbi <balbi@ti.com>, * Authors: Felipe Balbi <balbi@ti.com>,
* Sebastian Andrzej Siewior <bigeasy@linutronix.de> * Sebastian Andrzej Siewior <bigeasy@linutronix.de>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* trace.c - DesignWare USB3 DRD Controller Trace Support * trace.c - DesignWare USB3 DRD Controller Trace Support
* *
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com
* *
* Author: Felipe Balbi <balbi@ti.com> * Author: Felipe Balbi <balbi@ti.com>
*/ */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/** /**
* trace.h - DesignWare USB3 DRD Controller Trace Support * trace.h - DesignWare USB3 DRD Controller Trace Support
* *
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com
* *
* Author: Felipe Balbi <balbi@ti.com> * Author: Felipe Balbi <balbi@ti.com>
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment