Skip to content

Commit 4d8c1e0

Browse files
Al2KlimovJonathan Corbet
authored andcommitted
docs: gcov: replace links with HTTPS
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 0f540b9 commit 4d8c1e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/dev-tools/gcov.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Possible uses:
2222
* minimizing kernel configurations (do I need this option if the
2323
associated code is never run?)
2424

25-
.. _gcov: http://gcc.gnu.org/onlinedocs/gcc/Gcov.html
25+
.. _gcov: https://gcc.gnu.org/onlinedocs/gcc/Gcov.html
2626
.. _lcov: http://ltp.sourceforge.net/coverage/lcov.php
2727

2828

@@ -171,7 +171,7 @@ Note on compilers
171171
GCC and LLVM gcov tools are not necessarily compatible. Use gcov_ to work with
172172
GCC-generated .gcno and .gcda files, and use llvm-cov_ for Clang.
173173

174-
.. _gcov: http://gcc.gnu.org/onlinedocs/gcc/Gcov.html
174+
.. _gcov: https://gcc.gnu.org/onlinedocs/gcc/Gcov.html
175175
.. _llvm-cov: https://llvm.org/docs/CommandGuide/llvm-cov.html
176176

177177
Build differences between GCC and Clang gcov are handled by Kconfig. It

0 commit comments

Comments
 (0)