2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/drivers/isdn/capi
Alexander A. Klimov e7fff95c8c isdn/capi: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-13 17:25:35 -07:00
..
capi.c isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00
capiutil.c isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00
kcapi_proc.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
kcapi.c isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00
kcapi.h isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00
Kconfig isdn/capi: Replace HTTP links with HTTPS ones 2020-07-13 17:25:35 -07:00
Makefile isdn: capi: dead code removal 2019-12-11 09:12:38 +01:00