Skip to content

Commit 94f17c0

Browse files
Al2Klimovidryomov
authored andcommitted
libceph: 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 neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. [ idryomov: Do the same for the CRUSH paper and replace ceph.newdream.net with ceph.io. ] Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
1 parent c00e452 commit 94f17c0

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

fs/ceph/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config CEPH_FS
1313
scalable file system designed to provide high performance,
1414
reliable access to petabytes of storage.
1515

16-
More information at http://ceph.newdream.net/.
16+
More information at https://ceph.io/.
1717

1818
If unsure, say N.
1919

include/linux/crush/crush.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* The algorithm was originally described in detail in this paper
1818
* (although the algorithm has evolved somewhat since then):
1919
*
20-
* http://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf
20+
* https://www.ssrc.ucsc.edu/Papers/weil-sc06.pdf
2121
*
2222
* LGPL2
2323
*/

net/ceph/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ config CEPH_LIB
1313
common functionality to both the Ceph filesystem and
1414
to the rados block device (rbd).
1515

16-
More information at http://ceph.newdream.net/.
16+
More information at https://ceph.io/.
1717

1818
If unsure, say N.
1919

net/ceph/ceph_hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/*
66
* Robert Jenkin's hash function.
7-
* http://burtleburtle.net/bob/hash/evahash.html
7+
* https://burtleburtle.net/bob/hash/evahash.html
88
* This is in the public domain.
99
*/
1010
#define mix(a, b, c) \

net/ceph/crush/hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/*
99
* Robert Jenkins' function for mixing 32-bit values
10-
* http://burtleburtle.net/bob/hash/evahash.html
10+
* https://burtleburtle.net/bob/hash/evahash.html
1111
* a, b = random bits, c = input and output
1212
*/
1313
#define crush_hashmix(a, b, c) do { \

net/ceph/crush/mapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ static __u64 crush_ln(unsigned int xin)
298298
*
299299
* for reference, see:
300300
*
301-
* http://en.wikipedia.org/wiki/Exponential_distribution#Distribution_of_the_minimum_of_exponential_random_variables
301+
* https://en.wikipedia.org/wiki/Exponential_distribution#Distribution_of_the_minimum_of_exponential_random_variables
302302
*
303303
*/
304304

0 commit comments

Comments
 (0)