Skip to content

Commit 16a122c

Browse files
Al2Klimovmasahir0y
authored andcommitted
kbuild: 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. Signed-off-by: Alexander A. Klimov <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent b16838c commit 16a122c

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

Documentation/kbuild/Kconfig.recursion-issue-02

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# "select FW_LOADER" [0], in the end the simple alternative solution to this
4343
# problem consisted on matching semantics with newly introduced features.
4444
#
45-
# [0] http://lkml.kernel.org/r/[email protected]
45+
# [0] https://lkml.kernel.org/r/[email protected]
4646

4747
mainmenu "Simple example to demo cumulative kconfig recursive dependency implication"
4848

Documentation/kbuild/kconfig-language.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -688,10 +688,10 @@ and real world requirements were not well understood. As it stands though
688688
only reverse engineering techniques have been used to deduce semantics from
689689
variability modeling languages such as Kconfig [3]_.
690690

691-
.. [0] http://www.eng.uwaterloo.ca/~shshe/kconfig_semantics.pdf
692-
.. [1] http://gsd.uwaterloo.ca/sites/default/files/vm-2013-berger.pdf
693-
.. [2] http://gsd.uwaterloo.ca/sites/default/files/ase241-berger_0.pdf
694-
.. [3] http://gsd.uwaterloo.ca/sites/default/files/icse2011.pdf
691+
.. [0] https://www.eng.uwaterloo.ca/~shshe/kconfig_semantics.pdf
692+
.. [1] https://gsd.uwaterloo.ca/sites/default/files/vm-2013-berger.pdf
693+
.. [2] https://gsd.uwaterloo.ca/sites/default/files/ase241-berger_0.pdf
694+
.. [3] https://gsd.uwaterloo.ca/sites/default/files/icse2011.pdf
695695
696696
Full SAT solver for Kconfig
697697
~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -710,10 +710,10 @@ such efforts somehow on Kconfig. There is enough interest from mentors of
710710
existing projects to not only help advise how to integrate this work upstream
711711
but also help maintain it long term. Interested developers should visit:
712712

713-
http://kernelnewbies.org/KernelProjects/kconfig-sat
713+
https://kernelnewbies.org/KernelProjects/kconfig-sat
714714

715-
.. [4] http://www.cs.cornell.edu/~sabhar/chapters/SATSolvers-KR-Handbook.pdf
716-
.. [5] http://gsd.uwaterloo.ca/sites/default/files/vm-2013-berger.pdf
715+
.. [4] https://www.cs.cornell.edu/~sabhar/chapters/SATSolvers-KR-Handbook.pdf
716+
.. [5] https://gsd.uwaterloo.ca/sites/default/files/vm-2013-berger.pdf
717717
.. [6] https://cados.cs.fau.de
718718
.. [7] https://vamos.cs.fau.de
719719
.. [8] https://undertaker.cs.fau.de

Documentation/kbuild/llvm.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Getting Help
7676
Getting LLVM
7777
-------------
7878

79-
- http://releases.llvm.org/download.html
79+
- https://releases.llvm.org/download.html
8080
- https://github.com/llvm/llvm-project
8181
- https://llvm.org/docs/GettingStarted.html
8282
- https://llvm.org/docs/CMake.html

scripts/package/mkdebian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Section: kernel
175175
Priority: optional
176176
Maintainer: $maintainer
177177
Build-Depends: bc, rsync, kmod, cpio, bison, flex | flex:native $extra_build_depends
178-
Homepage: http://www.kernel.org/
178+
Homepage: https://www.kernel.org/
179179
180180
Package: $packagename
181181
Architecture: $debarch

scripts/package/mkspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sed -e '/^DEL/d' -e 's/^\t*//' <<EOF
4646
License: GPL
4747
Group: System Environment/Kernel
4848
Vendor: The Linux Community
49-
URL: http://www.kernel.org
49+
URL: https://www.kernel.org
5050
$S Source: kernel-$__KERNELRELEASE.tar.gz
5151
Provides: $PROVIDES
5252
%define __spec_install_post /usr/lib/rpm/brp-compress || :

0 commit comments

Comments
 (0)