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)
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

index ecbbaa5..c5fdfd1 100644 (file)
@@ -120,7 +120,7 @@ o   Jade Alglave, Luc Maranget, and Michael Tautschnig. 2014. "Herding
 
 o      Jade Alglave, Patrick Cousot, and Luc Maranget. 2016. "Syntax and
        semantics of the weak consistency model specification language
-       cat". CoRR abs/1608.07531 (2016). http://arxiv.org/abs/1608.07531
+       cat". CoRR abs/1608.07531 (2016). https://arxiv.org/abs/1608.07531
 
 
 Memory-model comparisons