]> Git Repo - linux.git/commitdiff
Replace HTTP links with HTTPS ones: security
authorAlexander A. Klimov <[email protected]>
Sun, 5 Jul 2020 21:45:12 +0000 (23:45 +0200)
committerJames Morris <[email protected]>
Thu, 6 Aug 2020 19:00:05 +0000 (12:00 -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 <[email protected]>
Acked-by: John Johansen <[email protected]>
Signed-off-by: James Morris <[email protected]>
security/Kconfig
security/apparmor/Kconfig
security/integrity/ima/Kconfig
security/integrity/ima/ima_template.c
security/integrity/ima/ima_template_lib.c
security/integrity/ima/ima_template_lib.h
security/keys/encrypted-keys/ecryptfs_format.c
security/keys/encrypted-keys/ecryptfs_format.h
security/keys/encrypted-keys/encrypted.c
security/keys/encrypted-keys/masterkey_trusted.c

index cd3cc7da3a55d9134186278d59c3df403a4b3863..7561f6f99f1d294d354f6c58cd46f58006e5f29b 100644 (file)
@@ -118,7 +118,7 @@ config INTEL_TXT
          it was configured with, especially since they may be responsible for
          providing such assurances to VMs and services running on it.
 
-         See <http://www.intel.com/technology/security/> for more information
+         See <https://www.intel.com/technology/security/> for more information
          about Intel(R) TXT.
          See <http://tboot.sourceforge.net> for more information about tboot.
          See Documentation/x86/intel_txt.rst for a description of how to enable
index 0fe336860773bbc14a6684d648e991233c6513a9..7e1dfdbd4c41a0baf9a644edde417266c2258db0 100644 (file)
@@ -76,7 +76,7 @@ config SECURITY_APPARMOR_KUNIT_TEST
          This builds the AppArmor KUnit tests.
 
          KUnit tests run during boot and output the results to the debug log
-         in TAP format (http://testanything.org/). Only useful for kernel devs
+         in TAP format (https://testanything.org/). Only useful for kernel devs
          running KUnit test harness and are not for inclusion into a
          production build.
 
index edde88dbe5766dcd8ae33705eb70a96face8ab8c..6a5e4a77601b08d10e8f70ebfacb92453deb84d2 100644 (file)
@@ -26,7 +26,7 @@ config IMA
          an aggregate integrity value over this list inside the
          TPM hardware, so that the TPM can prove to a third party
          whether or not critical system files have been modified.
-         Read <http://www.usenix.org/events/sec04/tech/sailer.html>
+         Read <https://www.usenix.org/events/sec04/tech/sailer.html>
          to learn more about IMA.
          If unsure, say N.
 
index 062d9ad49afb623a699107b925ffd3ae0f7a09da..da8cf2d3fd647fb87c82ae1b5e782fa226d85d9e 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Politecnico di Torino, Italy
- *                    TORSEC group -- http://security.polito.it
+ *                    TORSEC group -- https://security.polito.it
  *
  * Author: Roberto Sassu <[email protected]>
  *
index 9cd1e50f3ccc7521ad84b94d0fb05b7c3d74d353..7320b76b1c621778686da4e3e59e1511a01bb55a 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Politecnico di Torino, Italy
- *                    TORSEC group -- http://security.polito.it
+ *                    TORSEC group -- https://security.polito.it
  *
  * Author: Roberto Sassu <[email protected]>
  *
index 9a88c79a7a61a62c691d97f938f6e10b5efd177a..6b3b880637a0c9baec28be5806ffe29ca7093dd1 100644 (file)
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2013 Politecnico di Torino, Italy
- *                    TORSEC group -- http://security.polito.it
+ *                    TORSEC group -- https://security.polito.it
  *
  * Author: Roberto Sassu <[email protected]>
  *
index a7339d4de8114f7213c7f3a9ebede05a25442db1..8fdd76105ce343ed52651e4a03fedd6b1d3055fc 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 2006 International Business Machines Corp.
  * Copyright (C) 2010 Politecnico di Torino, Italy
- *                    TORSEC group -- http://security.polito.it
+ *                    TORSEC group -- https://security.polito.it
  *
  * Authors:
  * Michael A. Halcrow <[email protected]>
index 939621d870e43bffa40027480f1984cc829c05bf..ed846657861603e455af561576f4dd7e1a9cfacd 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright (C) 2006 International Business Machines Corp.
  * Copyright (C) 2010 Politecnico di Torino, Italy
- *                    TORSEC group -- http://security.polito.it
+ *                    TORSEC group -- https://security.polito.it
  *
  * Authors:
  * Michael A. Halcrow <[email protected]>
index f6797ba44bf71634b006031d7ad7948cefd35cd1..3c2e9d5e21fdf73dbccd27c18cf2634c0b277151 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2010 IBM Corporation
  * Copyright (C) 2010 Politecnico di Torino, Italy
- *                    TORSEC group -- http://security.polito.it
+ *                    TORSEC group -- https://security.polito.it
  *
  * Authors:
  * Mimi Zohar <[email protected]>
index c68528aa49c6dc3369d3c36beba29687dec059be..e6d22ce77e98ff55764892c781410e709b1d56e4 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2010 IBM Corporation
  * Copyright (C) 2010 Politecnico di Torino, Italy
- *                    TORSEC group -- http://security.polito.it
+ *                    TORSEC group -- https://security.polito.it
  *
  * Authors:
  * Mimi Zohar <[email protected]>
This page took 0.087675 seconds and 4 git commands to generate.