lib: Replace HTTP links with HTTPS ones
Subsystems (2)
PATCH 1/1 lib: 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.
---
Continuing my work started at 93431e0607e5 with unmaintained stuff according to:
perl scripts/get_maintainer.pl --nogit{,-fallback} --nol
See also: git log --oneline '--author=Alexander A. Klimov <[email protected]>' v5.7..master (Actually letting a shell for loop submit all this stuff for me.)
If there are any URLs to be removed completely
or at least not (just) HTTPSified:
Just clearly say so and I'll *undo my change*.
See also: https://lkml.org/lkml/2020/6/27/64
If there are any valid, but yet not changed URLs:
See: https://lkml.org/lkml/2020/6/26/837
If you apply the patch, please let me know.
lib/Kconfig.debug | 2 +- lib/crc64.c | 2 +- lib/decompress_bunzip2.c | 2 +- lib/decompress_unlzma.c | 6 +++--- lib/math/rational.c | 2 +- lib/rbtree.c | 2 +- lib/ts_bm.c | 2 +- lib/xxhash.c | 2 +- lib/xz/xz_crc32.c | 2 +- lib/xz/xz_dec_bcj.c | 2 +- lib/xz/xz_dec_lzma2.c | 2 +- lib/xz/xz_lzma2.h | 2 +- lib/xz/xz_stream.h | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-)
lib/Kconfig.debug +1 -1
@@ -2164,7 +2164,7 @@ config LIST_KUNIT_TEST and associated macros. KUnit tests run during boot and output the results to the debug log - in TAP format (http://testanything.org/). Only useful for kernel devs + in TAP format (https://testanything.org/). Only useful for kernel devs running the KUnit test harness, and not intended for inclusion into a production build.
lib/crc64.c +1 -1
@@ -4,7 +4,7 @@* * This is a basic crc64 implementation following ECMA-182 specification, * which can be found from, -* http://www.ecma-international.org/publications/standards/Ecma-182.htm +* https://www.ecma-international.org/publications/standards/Ecma-182.htm * * Dr. Ross N. Williams has a great document to introduce the idea of CRC * algorithm, here the CRC64 code is also inspired by the table-driven
lib/decompress_bunzip2.c +1 -1
@@ -34,7 +34,7 @@Phone (337) 232-1234 or 1-800-738-2226 Fax (337) 232-1297 -http://www.hospiceacadiana.com/ +https://www.hospiceacadiana.com/ Manuel */
lib/decompress_unlzma.c +3 -3
@@ -8,7 +8,7 @@ *implementation for lzma. *Copyright (C) 2006 Aurelien Jacobs < [email protected] > * - *Based on LzmaDecode.c from the LZMA SDK 4.22 (http://www.7-zip.org/) + *Based on LzmaDecode.c from the LZMA SDK 4.22 (https://www.7-zip.org/) *Copyright (C) 1999-2005 Igor Pavlov * *Copyrights of the parts, see headers below.
@@ -56,7 +56,7 @@ static long long INIT read_int(unsigned char *ptr, int size)/* Small range coder implementation for lzma. *Copyright (C) 2006 Aurelien Jacobs < [email protected] > * -*Based on LzmaDecode.c from the LZMA SDK 4.22 (http://www.7-zip.org/) +*Based on LzmaDecode.c from the LZMA SDK 4.22 (https://www.7-zip.org/) *Copyright (c) 1999-2005 Igor Pavlov */
@@ -213,7 +213,7 @@ rc_bit_tree_decode(struct rc *rc, uint16_t *p, int num_levels, int *symbol)* Small lzma deflate implementation. * Copyright (C) 2006 Aurelien Jacobs < [email protected] > * -* Based on LzmaDecode.c from the LZMA SDK 4.22 (http://www.7-zip.org/) +* Based on LzmaDecode.c from the LZMA SDK 4.22 (https://www.7-zip.org/) * Copyright (C) 1999-2005 Igor Pavlov */
lib/math/rational.c +1 -1
@@ -27,7 +27,7 @@* with the fractional part size described in given_denominator. * * for theoretical background, see: -* http://en.wikipedia.org/wiki/Continued_fraction +* https://en.wikipedia.org/wiki/Continued_fraction */ void rational_best_approximation(
lib/rbtree.c +1 -1
@@ -13,7 +13,7 @@#include <linux/export.h> /* -* red-black trees properties: http://en.wikipedia.org/wiki/Rbtree +* red-black trees properties: https://en.wikipedia.org/wiki/Rbtree * * 1) A node is either red or black * 2) The root is black
lib/ts_bm.c +1 -1
@@ -11,7 +11,7 @@* [1] A Fast String Searching Algorithm, R.S. Boyer and Moore. * Communications of the Association for Computing Machinery, * 20(10), 1977, pp. 762-772. -* http://www.cs.utexas.edu/users/moore/publications/fstrpos.pdf +* https://www.cs.utexas.edu/users/moore/publications/fstrpos.pdf * * [2] Handbook of Exact String Matching Algorithms, Thierry Lecroq, 2004 * http://www-igm.univ-mlv.fr/~lecroq/string/string.pdf
lib/xxhash.c +1 -1
@@ -34,7 +34,7 @@* ("BSD"). * * You can contact the author at: -* - xxHash homepage: http://cyan4973.github.io/xxHash/ +* - xxHash homepage: https://cyan4973.github.io/xxHash/ * - xxHash source repository: https://github.com/Cyan4973/xxHash */
lib/xz/xz_crc32.c +1 -1
@@ -2,7 +2,7 @@* CRC32 using the polynomial from IEEE-802.3 * * Authors: Lasse Collin <[email protected]> -* Igor Pavlov <http://7-zip.org/> +* Igor Pavlov <https://7-zip.org/> * * This file has been put into the public domain. * You can do whatever you want with this file.
lib/xz/xz_dec_bcj.c +1 -1
@@ -2,7 +2,7 @@* Branch/Call/Jump (BCJ) filter decoders * * Authors: Lasse Collin <[email protected]> -* Igor Pavlov <http://7-zip.org/> +* Igor Pavlov <https://7-zip.org/> * * This file has been put into the public domain. * You can do whatever you want with this file.
lib/xz/xz_dec_lzma2.c +1 -1
@@ -2,7 +2,7 @@* LZMA2 decoder * * Authors: Lasse Collin <[email protected]> -* Igor Pavlov <http://7-zip.org/> +* Igor Pavlov <https://7-zip.org/> * * This file has been put into the public domain. * You can do whatever you want with this file.
lib/xz/xz_lzma2.h +1 -1
@@ -2,7 +2,7 @@* LZMA2 definitions * * Authors: Lasse Collin <[email protected]> -* Igor Pavlov <http://7-zip.org/> +* Igor Pavlov <https://7-zip.org/> * * This file has been put into the public domain. * You can do whatever you want with this file.
lib/xz/xz_stream.h +1 -1
@@ -19,7 +19,7 @@/* * See the .xz file format specification at -* http://tukaani.org/xz/xz-file-format.txt +* https://tukaani.org/xz/xz-file-format.txt * to understand the container format. */
Signature · 1 line
2.27.0
Quoted 38 lines · Alexander A. Klimov
Rationale:
Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate.Signed-off-by Alexander A. Klimov <[email protected]>---
Continuing my work started at93431e0607e5with unmaintained stuff according to:
perlscripts/get_maintainer.pl--nogit{,-fallback} --nolSee also: git log --oneline '--author=Alexander A. Klimov <[email protected]>' v5.7..master (Actually letting a shell for loop submit all this stuff for me.)
If there are any URLs to be removed completely
or at least not (just) HTTPSified:
Just clearly say so and I'll *undo my change*.
See also: https://lkml.org/lkml/2020/6/27/64If there are any valid, but yet not changed URLs:
See: https://lkml.org/lkml/2020/6/26/837If you apply the patch, please let me know.
lib/Kconfig.debug | 2 +- lib/crc64.c | 2 +- lib/decompress_bunzip2.c | 2 +- lib/decompress_unlzma.c | 6 +++--- lib/math/rational.c | 2 +- lib/rbtree.c | 2 +- lib/ts_bm.c | 2 +- lib/xxhash.c | 2 +- lib/xz/xz_crc32.c | 2 +- lib/xz/xz_dec_bcj.c | 2 +- lib/xz/xz_dec_lzma2.c | 2 +- lib/xz/xz_lzma2.h | 2 +- lib/xz/xz_stream.h | 2 +- 13 files changed, 15 insertions(+), 15 deletions(-)
[snipped]
Quoted 18 lines
lib/crc64.c +1
-1@@ -4,7 +4,7 @@* * This is a basic crc64 implementation following ECMA-182 specification, * which can be found from, -* http://www.ecma-international.org/publications/standards/Ecma-182.htm +* https://www.ecma-international.org/publications/standards/Ecma-182.htm * * Dr. Ross N. Williams has a great document to introduce the idea of CRC * algorithm, here the CRC64 code is also inspired by the table-driven lib/decompress_bunzip2.c +0
-0
lib/decompress_bunzip2.c line 40
Quoted 8 lines
lib/decompress_bunzip2.c +1
-1@@ -34,7 +34,7 @@Phone (337) 232-1234 or 1-800-738-2226 Fax (337) 232-1297 -http://www.hospiceacadiana.com/ +https://www.hospiceacadiana.com/ Manuel */
[snipped]
For crc64.c, Acked-by: Coly Li <[email protected]>
Thanks.
Coly Li