ARM: dts: exynos: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 09:39:39 +0000 (11:39 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 20 Jul 2020 14:43:28 +0000 (16:43 +0200)
commitf37b5d3aef8db06390cb7ef25585b39f89c1dedf
tree063ec8059543ceec7e2aa989bac94cefe6bb11d5
parent9ff416cf45a08f28167b75045222c762a0347930
ARM: dts: exynos: 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: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5410-pinctrl.dtsi