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

Replace HTTP links with HTTPS ones: Documentation/filesystems

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/20200621133552.46371-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Alexander A. Klimov and committed by
Jonathan Corbet
c69f22f2 d3603f4c

+17 -17
+1 -1
Documentation/filesystems/hfs.rst
··· 76 76 77 77 The hfsutils package from Robert Leslie contains a program called 78 78 hformat that can be used to create HFS filesystem. See 79 - <http://www.mars.org/home/rob/proj/hfs/> for details. 79 + <https://www.mars.org/home/rob/proj/hfs/> for details. 80 80 81 81 82 82 Credits
+1 -1
Documentation/filesystems/hpfs.rst
··· 7 7 1998-2004, Mikulas Patocka 8 8 9 9 :email: mikulas@artax.karlin.mff.cuni.cz 10 - :homepage: http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/hpfs/index-e.cgi 10 + :homepage: https://artax.karlin.mff.cuni.cz/~mikulas/vyplody/hpfs/index-e.cgi 11 11 12 12 Credits 13 13 =======
+3 -3
Documentation/filesystems/nfs/rpc-server-gss.rst
··· 10 10 11 11 RPCGSS is specified in a few IETF documents: 12 12 13 - - RFC2203 v1: http://tools.ietf.org/rfc/rfc2203.txt 14 - - RFC5403 v2: http://tools.ietf.org/rfc/rfc5403.txt 13 + - RFC2203 v1: https://tools.ietf.org/rfc/rfc2203.txt 14 + - RFC5403 v2: https://tools.ietf.org/rfc/rfc5403.txt 15 15 16 16 and there is a 3rd version being proposed: 17 17 18 - - http://tools.ietf.org/id/draft-williams-rpcsecgssv3.txt 18 + - https://tools.ietf.org/id/draft-williams-rpcsecgssv3.txt 19 19 (At draft n. 02 at the time of writing) 20 20 21 21 Background
+3 -3
Documentation/filesystems/path-lookup.rst
··· 69 69 exist, it could be "``.``" or "``..``" which are handled quite differently 70 70 from other components. 71 71 72 - .. _POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_12 72 + .. _POSIX: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_12 73 73 74 74 If a pathname ends with a slash, such as "``/tmp/foo/``" it might be 75 75 tempting to consider that to have an empty final component. In many ··· 376 376 Bringing it together with ``struct nameidata`` 377 377 ---------------------------------------------- 378 378 379 - .. _First edition Unix: http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/u2.s 379 + .. _First edition Unix: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/u2.s 380 380 381 381 Throughout the process of walking a path, the current status is stored 382 382 in a ``struct nameidata``, "namei" being the traditional name - dating ··· 1265 1265 and looking up a symlink on the way to some other destination can 1266 1266 update the atime on that symlink. 1267 1267 1268 - .. _clearest statement: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_08 1268 + .. _clearest statement: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_08 1269 1269 1270 1270 It is not clear why this is the case; POSIX has little to say on the 1271 1271 subject. The `clearest statement`_ is that, if a particular implementation
+4 -4
Documentation/filesystems/ramfs-rootfs-initramfs.rst
··· 246 246 you need to get a minimal root filesystem up and running, here are some 247 247 references: 248 248 249 - - http://www.tldp.org/HOWTO/Bootdisk-HOWTO/ 250 - - http://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO.html 249 + - https://www.tldp.org/HOWTO/Bootdisk-HOWTO/ 250 + - https://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO.html 251 251 - http://www.linuxfromscratch.org/lfs/view/stable/ 252 252 253 - The "klibc" package (http://www.kernel.org/pub/linux/libs/klibc) is 253 + The "klibc" package (https://www.kernel.org/pub/linux/libs/klibc) is 254 254 designed to be a tiny C library to statically link early userspace 255 255 code against, along with some related utilities. It is BSD licensed. 256 256 257 - I use uClibc (http://www.uclibc.org) and busybox (http://www.busybox.net) 257 + I use uClibc (https://www.uclibc.org) and busybox (https://www.busybox.net) 258 258 myself. These are LGPL and GPL, respectively. (A self-contained initramfs 259 259 package is planned for the busybox 1.3 release.) 260 260
+2 -2
Documentation/filesystems/ubifs-authentication.rst
··· 433 433 References 434 434 ========== 435 435 436 - [CRYPTSETUP2] http://www.saout.de/pipermail/dm-crypt/2017-November/005745.html 436 + [CRYPTSETUP2] https://www.saout.de/pipermail/dm-crypt/2017-November/005745.html 437 437 438 - [DMC-CBC-ATTACK] http://www.jakoblell.com/blog/2013/12/22/practical-malleability-attack-against-cbc-encrypted-luks-partitions/ 438 + [DMC-CBC-ATTACK] https://www.jakoblell.com/blog/2013/12/22/practical-malleability-attack-against-cbc-encrypted-luks-partitions/ 439 439 440 440 [DM-INTEGRITY] https://www.kernel.org/doc/Documentation/device-mapper/dm-integrity.rst 441 441
+3 -3
Documentation/filesystems/vfs.rst
··· 1431 1431 version.) 1432 1432 1433 1433 Creating Linux virtual filesystems. 2002 1434 - <http://lwn.net/Articles/13325/> 1434 + <https://lwn.net/Articles/13325/> 1435 1435 1436 1436 The Linux Virtual File-system Layer by Neil Brown. 1999 1437 1437 <http://www.cse.unsw.edu.au/~neilb/oss/linux-commentary/vfs.html> 1438 1438 1439 1439 A tour of the Linux VFS by Michael K. Johnson. 1996 1440 - <http://www.tldp.org/LDP/khg/HyperNews/get/fs/vfstour.html> 1440 + <https://www.tldp.org/LDP/khg/HyperNews/get/fs/vfstour.html> 1441 1441 1442 1442 A small trail through the Linux kernel by Andries Brouwer. 2001 1443 - <http://www.win.tue.nl/~aeb/linux/vfs/trail.html> 1443 + <https://www.win.tue.nl/~aeb/linux/vfs/trail.html>