OSDN Git Service

Replace HTTP links with HTTPS ones: Documentation/admin-guide
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sat, 27 Jun 2020 07:29:35 +0000 (09:29 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 5 Jul 2020 20:13:00 +0000 (14:13 -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/20200627072935.62652-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
12 files changed:
Documentation/admin-guide/dell_rbu.rst
Documentation/admin-guide/devices.txt
Documentation/admin-guide/ext4.rst
Documentation/admin-guide/kernel-parameters.txt
Documentation/admin-guide/laptops/disk-shock-protection.rst
Documentation/admin-guide/laptops/sonypi.rst
Documentation/admin-guide/laptops/thinkpad-acpi.rst
Documentation/admin-guide/mm/ksm.rst
Documentation/admin-guide/nfs/nfs-client.rst
Documentation/admin-guide/nfs/nfs-rdma.rst
Documentation/admin-guide/nfs/nfsroot.rst
Documentation/admin-guide/sysctl/fs.rst

index 8d70e1f..2196caf 100644 (file)
@@ -26,7 +26,7 @@ Please go to  http://support.dell.com register and you can find info on
 OpenManage and Dell Update packages (DUP).
 
 Libsmbios can also be used to update BIOS on Dell systems go to
-http://linux.dell.com/libsmbios/ for details.
+https://linux.dell.com/libsmbios/ for details.
 
 Dell_RBU driver supports BIOS update using the monolithic image and packetized
 image methods. In case of monolithic the driver allocates a contiguous chunk
index 2a97aae..a622dfe 100644 (file)
                    ...
 
                The driver and documentation may be obtained from
-               http://www.winradio.com/
+               https://www.winradio.com/
 
   82 block     I2O hard disk
                  0 = /dev/i2o/hdag     33rd I2O hard disk, whole disk
                dynamically, so there is no fixed mapping from subdevice
                pathnames to minor numbers.
 
-               See http://www.comedi.org/ for information about the Comedi
+               See https://www.comedi.org/ for information about the Comedi
                project.
 
   98 block     User-mode virtual block device
                implementations a kernel presence for caching and easy
                mounting.  For more information about the project,
                write to <arla-drinkers@stacken.kth.se> or see
-               http://www.stacken.kth.se/project/arla/
+               https://www.stacken.kth.se/project/arla/
 
  103 block     Audit device
                  0 = /dev/audit        Audit device
index 9443fce..bc3abfb 100644 (file)
@@ -611,7 +611,7 @@ kernel source:      <file:fs/ext4/>
 
 programs:      http://e2fsprogs.sourceforge.net/
 
-useful links:  http://fedoraproject.org/wiki/ext3-devel
+useful links:  https://fedoraproject.org/wiki/ext3-devel
                http://www.bullopensource.org/ext4/
                http://ext4.wiki.kernel.org/index.php/Main_Page
-               http://fedoraproject.org/wiki/Features/Ext4
+               https://fedoraproject.org/wiki/Features/Ext4
index b5beb1f..d325726 100644 (file)
                        touchscreen support is not enabled in the mainstream
                        kernel as of 2.6.30, a preliminary port can be found
                        in the "bleeding edge" mini2440 support kernel at
-                       http://repo.or.cz/w/linux-2.6/mini2440.git
+                       https://repo.or.cz/w/linux-2.6/mini2440.git
 
        mitigations=
                        [X86,PPC,S390,ARM64] Control optional mitigations for
index e97c5f7..22c7ec3 100644 (file)
@@ -135,7 +135,7 @@ single project which, although still considered experimental, is fit
 for use. Please feel free to add projects that have been the victims
 of my ignorance.
 
-- http://www.thinkwiki.org/wiki/HDAPS
+- https://www.thinkwiki.org/wiki/HDAPS
 
   See this page for information about Linux support of the hard disk
   active protection system as implemented in IBM/Lenovo Thinkpads.
index c6eaaf4..190da12 100644 (file)
@@ -151,7 +151,7 @@ Bugs:
          different way to adjust the backlighting of the screen. There
          is a userspace utility to adjust the brightness on those models,
          which can be downloaded from
-         http://www.acc.umu.se/~erikw/program/smartdimmer-0.1.tar.bz2
+         https://www.acc.umu.se/~erikw/program/smartdimmer-0.1.tar.bz2
 
        - since all development was done by reverse engineering, there is
          *absolutely no guarantee* that this driver will not crash your
index 822907d..69b7ce9 100644 (file)
@@ -904,7 +904,7 @@ temperatures:
 The mapping of thermal sensors to physical locations varies depending on
 system-board model (and thus, on ThinkPad model).
 
-http://thinkwiki.org/wiki/Thermal_Sensors is a public wiki page that
+https://thinkwiki.org/wiki/Thermal_Sensors is a public wiki page that
 tries to track down these locations for various models.
 
 Most (newer?) models seem to follow this pattern:
@@ -925,7 +925,7 @@ For the R51 (source: Thomas Gruber):
 - 3:  Internal HDD
 
 For the T43, T43/p (source: Shmidoax/Thinkwiki.org)
-http://thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_T43.2C_T43p
+https://thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_T43.2C_T43p
 
 - 2:  System board, left side (near PCMCIA slot), reported as HDAPS temp
 - 3:  PCMCIA slot
@@ -935,7 +935,7 @@ http://thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_T43.2C_T43p
 - 11: Power regulator, underside of system board, below F2 key
 
 The A31 has a very atypical layout for the thermal sensors
-(source: Milos Popovic, http://thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_A31)
+(source: Milos Popovic, https://thinkwiki.org/wiki/Thermal_Sensors#ThinkPad_A31)
 
 - 1:  CPU
 - 2:  Main Battery: main sensor
index 3deeb2a..97d8167 100644 (file)
@@ -9,7 +9,7 @@ Overview
 
 KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y,
 added to the Linux kernel in 2.6.32.  See ``mm/ksm.c`` for its implementation,
-and http://lwn.net/Articles/306704/ and http://lwn.net/Articles/330589/
+and http://lwn.net/Articles/306704/ and https://lwn.net/Articles/330589/
 
 KSM was originally developed for use with KVM (where it was known as
 Kernel Shared Memory), to fit more virtual machines into physical memory,
index c4b777c..6adb645 100644 (file)
@@ -65,8 +65,8 @@ migrated onto another server by means of the special "fs_locations"
 attribute. See `RFC3530 Section 6: Filesystem Migration and Replication`_ and
 `Implementation Guide for Referrals in NFSv4`_.
 
-.. _RFC3530 Section 6\: Filesystem Migration and Replication: http://tools.ietf.org/html/rfc3530#section-6
-.. _Implementation Guide for Referrals in NFSv4: http://tools.ietf.org/html/draft-ietf-nfsv4-referrals-00
+.. _RFC3530 Section 6\: Filesystem Migration and Replication: https://tools.ietf.org/html/rfc3530#section-6
+.. _Implementation Guide for Referrals in NFSv4: https://tools.ietf.org/html/draft-ietf-nfsv4-referrals-00
 
 The fs_locations information can take the form of either an ip address and
 a path, or a DNS hostname and a path. The latter requires the NFS client to
index ef0f367..f137485 100644 (file)
@@ -65,7 +65,7 @@ use with NFS/RDMA.
   If the version is less than 1.1.2 or the command does not exist,
   you should install the latest version of nfs-utils.
 
-  Download the latest package from: http://www.kernel.org/pub/linux/utils/nfs
+  Download the latest package from: https://www.kernel.org/pub/linux/utils/nfs
 
   Uncompress the package and follow the installation instructions.
 
index c677207..135218f 100644 (file)
@@ -264,7 +264,7 @@ They depend on various facilities being available:
        access to the floppy drive device, /dev/fd0
 
        For more information on syslinux, including how to create bootdisks
-       for prebuilt kernels, see http://syslinux.zytor.com/
+       for prebuilt kernels, see https://syslinux.zytor.com/
 
        .. note::
                Previously it was possible to write a kernel directly to
@@ -292,7 +292,7 @@ They depend on various facilities being available:
          cdrecord dev=ATAPI:1,0,0 arch/x86/boot/image.iso
 
        For more information on isolinux, including how to create bootdisks
-       for prebuilt kernels, see http://syslinux.zytor.com/
+       for prebuilt kernels, see https://syslinux.zytor.com/
 
 - Using LILO
 
@@ -346,7 +346,7 @@ They depend on various facilities being available:
        see Documentation/admin-guide/serial-console.rst for more information.
 
        For more information on isolinux, including how to create bootdisks
-       for prebuilt kernels, see http://syslinux.zytor.com/
+       for prebuilt kernels, see https://syslinux.zytor.com/
 
 
 
index 2a45119..f48277a 100644 (file)
@@ -261,7 +261,7 @@ directories like /tmp. The common method of exploitation of this flaw
 is to cross privilege boundaries when following a given symlink (i.e. a
 root process follows a symlink belonging to another user). For a likely
 incomplete list of hundreds of examples across the years, please see:
-http://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=/tmp
+https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=/tmp
 
 When set to "0", symlink following behavior is unrestricted.