]> Git Repo - linux.git/commitdiff
ARM: s3c24xx: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <[email protected]>
Sun, 19 Jul 2020 09:39:39 +0000 (11:39 +0200)
committerKrzysztof Kozlowski <[email protected]>
Mon, 20 Jul 2020 14:42:28 +0000 (16:42 +0200)
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 <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
arch/arm/mach-s3c24xx/Kconfig
arch/arm/mach-s3c24xx/mach-h1940.c
arch/arm/mach-s3c24xx/mach-mini2440.c
arch/arm/mach-s3c24xx/mach-n30.c
arch/arm/mach-s3c24xx/mach-rx3715.c

index c5c06d98b147697ed45c5b73b3f3e9ef774cd08a..7673dde9671a2d7c550769d65c6656466eb7383c 100644 (file)
@@ -267,7 +267,7 @@ config MACH_TCT_HAMMER
        select S3C_DEV_USB_HOST
        help
          Say Y here if you are using the TinCanTools Hammer Board
-         <http://www.tincantools.com>
+         <https://www.tincantools.com>
 
 config MACH_VR1000
        bool "Thorcom VR1000"
index e1c372e5447b6a5b9bb9707da961b872a4782c47..f4710052843ac80f0e1a1345040161c40785e423 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (c) 2003-2005 Simtec Electronics
 //   Ben Dooks <[email protected]>
 //
-// http://www.handhelds.org/projects/h1940.html
+// https://www.handhelds.org/projects/h1940.html
 
 #include <linux/kernel.h>
 #include <linux/types.h>
index aa0c3310986556f61cce7c213a77506d277a90d5..235749448311865c647b6390c23e949ad67e26d3 100644 (file)
@@ -6,7 +6,7 @@
 //      Weibing <http://weibing.blogbus.com> and
 //      Michel Pollet <[email protected]>
 //
-// For product information, visit http://code.google.com/p/mini2440/
+// For product information, visit https://code.google.com/p/mini2440/
 
 #include <linux/kernel.h>
 #include <linux/types.h>
index 58a64f6d5fd07007c8c5a594121d7b05c273f452..998ccff3c174ba7ed0fa64eae45e7eb458b73d09 100644 (file)
@@ -9,7 +9,7 @@
 // Copyright (c) 2005-2008 Christer Weinigel <[email protected]>
 //
 // There is a wiki with more information about the n30 port at
-// http://handhelds.org/moin/moin.cgi/AcerN30Documentation .
+// https://handhelds.org/moin/moin.cgi/AcerN30Documentation .
 
 #include <linux/kernel.h>
 #include <linux/types.h>
index 529c6faf862f5848c99f3062cce737131b9baee6..995f1ff34a1bbac5cf20f44913bd6cab7e358026 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (c) 2003-2004 Simtec Electronics
 //     Ben Dooks <[email protected]>
 //
-// http://www.handhelds.org/projects/rx3715.html
+// https://www.handhelds.org/projects/rx3715.html
 
 #include <linux/kernel.h>
 #include <linux/types.h>
This page took 0.066177 seconds and 4 git commands to generate.