Replace HTTP links with HTTPS ones: LKMM
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Mon, 6 Jul 2020 19:03:24 +0000 (21:03 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 3 Sep 2020 16:51:00 +0000 (09:51 -0700)
commit1e44e6e82e7b4d2bae70a8a0b68f7d4f213b0e5f
tree9f6472829ae7d441784e9dfe074b1b180c363725
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
Replace HTTP links with HTTPS ones: LKMM

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 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: Paul E. McKenney <paulmck@kernel.org>
tools/memory-model/Documentation/references.txt