diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-06 21:03:39 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2020-08-06 07:01:57 +0200 |
commit | e65bf6e468c39a60c1dfae439198ad875bb8a870 (patch) | |
tree | 2a98eac6a2dd31594526527b82f0ca3931bbb657 /lib/test_static_keys.c | |
parent | ext4: lost matching-pair of trace in ext4_unlink (diff) | |
download | linux-e65bf6e468c39a60c1dfae439198ad875bb8a870.tar.xz linux-e65bf6e468c39a60c1dfae439198ad875bb8a870.zip |
ext4: 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 both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200706190339.20709-1-grandmaster@al2klimov.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'lib/test_static_keys.c')
0 files changed, 0 insertions, 0 deletions