Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext4: replace HTTP links with HTTPS ones

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/20200706190339.20709-1-grandmaster@al2klimov.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

authored by

Alexander A. Klimov and committed by
Theodore Ts'o
e65bf6e4 e5f78159

+2 -2
+1 -1
Documentation/filesystems/ext4/about.rst
··· 39 39 Other References 40 40 ---------------- 41 41 42 - Also see http://www.nongnu.org/ext2-doc/ for quite a collection of 42 + Also see https://www.nongnu.org/ext2-doc/ for quite a collection of 43 43 information about ext2/3. Here's another old reference: 44 44 http://wiki.osdev.org/Ext2
+1 -1
fs/ext4/Kconfig
··· 110 110 This builds the ext4 KUnit tests. 111 111 112 112 KUnit tests run during boot and output the results to the debug log 113 - in TAP format (http://testanything.org/). Only useful for kernel devs 113 + in TAP format (https://testanything.org/). Only useful for kernel devs 114 114 running KUnit test harness and are not for inclusion into a production 115 115 build. 116 116