OpenCloudOS-Kernel/drivers/tty/serial/jsm
Alexander A. Klimov d4c2b4e730 tty: serial: 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: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200718123840.19957-1-grandmaster@al2klimov.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-21 20:04:54 +02:00
..
Makefile tty: add SPDX identifiers to Kconfig and Makefiles 2019-04-04 18:48:43 +02:00
jsm.h tty: serial: Use the correct style for SPDX License Identifier 2020-03-07 09:52:01 +01:00
jsm_cls.c tty: serial: Remove redundant license text 2017-11-08 13:08:12 +01:00
jsm_driver.c tty: serial: Replace HTTP links with HTTPS ones 2020-07-21 20:04:54 +02:00
jsm_neo.c tty: serial: jsm: Add one check against NULL pointer dereference 2018-01-09 16:37:03 +01:00
jsm_tty.c tty: serial: jsm: remove redundant pointer ch 2018-07-13 15:36:32 +02:00