Replace HTTP links with HTTPS ones: LVM
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sat, 27 Jun 2020 10:31:38 +0000 (12:31 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 5 Jul 2020 20:28:27 +0000 (14:28 -0600)
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>
Link: https://lore.kernel.org/r/20200627103138.71885-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/device-mapper/dm-raid.rst
Documentation/admin-guide/device-mapper/dm-zoned.rst
drivers/md/Kconfig
drivers/md/dm-crypt.c

index 695a2ea1d1ae2a3ed7a5309babff0537bce2a5ea..7ef9fe63b3d4873a22c354274ed71447f15ee075 100644 (file)
@@ -71,7 +71,7 @@ The target is named "raid" and it accepts the following parameters::
   ============= ===============================================================
 
   Reference: Chapter 4 of
-  http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf
+  https://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf
 
 <#raid_params>: The number of parameters that follow.
 
index 553752ea2521103eaad9181064ffd463ea98ab5e..e635041351bc779afe9906780937707969d292be 100644 (file)
@@ -14,7 +14,7 @@ host-aware zoned block devices.
 For a more detailed description of the zoned block device models and
 their constraints see (for SCSI devices):
 
-http://www.t10.org/drafts.htm#ZBC_Family
+https://www.t10.org/drafts.htm#ZBC_Family
 
 and (for ATA devices):
 
index 921888df6764048f51f6e26abd8e405b06dd4591..30ba3573626c2f61d25d47c48433492b028882e3 100644 (file)
@@ -27,7 +27,7 @@ config BLK_DEV_MD
 
          More information about Software RAID on Linux is contained in the
          Software RAID mini-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>. There you will also learn
+         <https://www.tldp.org/docs.html#howto>. There you will also learn
          where to get the supporting user space utilities raidtools.
 
          If unsure, say N.
@@ -71,7 +71,7 @@ config MD_RAID0
 
          Information about Software RAID on Linux is contained in the
          Software-RAID mini-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>. There you will also
+         <https://www.tldp.org/docs.html#howto>. There you will also
          learn where to get the supporting user space utilities raidtools.
 
          To compile this as a module, choose M here: the module
@@ -93,7 +93,7 @@ config MD_RAID1
 
          Information about Software RAID on Linux is contained in the
          Software-RAID mini-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>.  There you will also
+         <https://www.tldp.org/docs.html#howto>.  There you will also
          learn where to get the supporting user space utilities raidtools.
 
          If you want to use such a RAID-1 set, say Y.  To compile this code
@@ -148,7 +148,7 @@ config MD_RAID456
 
          Information about Software RAID on Linux is contained in the
          Software-RAID mini-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>. There you will also
+         <https://www.tldp.org/docs.html#howto>. There you will also
          learn where to get the supporting user space utilities raidtools.
 
          If you want to use such a RAID-4/RAID-5/RAID-6 set, say Y.  To
index 000ddfab5ba05887e0bfda13baac9327fd0776f1..4704a16e637c4412bc731d4acc0575f55f4d91e0 100644 (file)
@@ -300,7 +300,7 @@ static struct crypto_aead *any_tfm_aead(struct crypt_config *cc)
  * elephant: The extended version of eboiv with additional Elephant diffuser
  *           used with Bitlocker CBC mode.
  *           This mode was used in older Windows systems
- *           http://download.microsoft.com/download/0/2/3/0238acaf-d3bf-4a6d-b3d6-0a0be4bbb36e/bitlockercipher200608.pdf
+ *           https://download.microsoft.com/download/0/2/3/0238acaf-d3bf-4a6d-b3d6-0a0be4bbb36e/bitlockercipher200608.pdf
  */
 
 static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv,