video: fbdev: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 20:37:14 +0000 (22:37 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Jul 2020 09:47:29 +0000 (11:47 +0200)
commit7c7b2a35a97c6927fedd5f39c559a413d8259d01
treefce422713e8c24519c441228620b60820244765d
parentb0487e0d96d58906e286592dd02e7292f53e399a
video: fbdev: 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: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200719203714.61745-1-grandmaster@al2klimov.de
14 files changed:
Documentation/fb/ep93xx-fb.rst
drivers/video/fbdev/Kconfig
drivers/video/fbdev/core/fbmon.c
drivers/video/fbdev/ep93xx-fb.c
drivers/video/fbdev/grvga.c
drivers/video/fbdev/macfb.c
drivers/video/fbdev/metronomefb.c
drivers/video/fbdev/omap2/omapfb/dss/Kconfig
drivers/video/fbdev/omap2/omapfb/dss/hdmi.h
drivers/video/fbdev/omap2/omapfb/dss/hdmi4.c
drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.c
drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.h
drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.h
drivers/video/fbdev/sa1100fb.c