Skip to content

Commit 541f564

Browse files
Al2Klimovshuahkh
authored andcommitted
Replace HTTP links with HTTPS ones: KMOD KERNEL MODULE LOADER - USERMODE HELPER
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. Signed-off-by: Alexander A. Klimov <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent c9f7504 commit 541f564

File tree

1 file changed

+1
-1
lines changed
  • tools/testing/selftests/kmod

1 file changed

+1
-1
lines changed

tools/testing/selftests/kmod/kmod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ test_reqs()
128128
if [[ $KMOD_VERSION -le 19 ]]; then
129129
echo "$0: You need at least kmod 20" >&2
130130
echo "kmod <= 19 is buggy, for details see:" >&2
131-
echo "http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/libkmod/libkmod-module.c?id=fd44a98ae2eb5eb32161088954ab21e58e19dfc4" >&2
131+
echo "https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/libkmod/libkmod-module.c?id=fd44a98ae2eb5eb32161088954ab21e58e19dfc4" >&2
132132
exit $ksft_skip
133133
fi
134134

0 commit comments

Comments
 (0)