diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-12 13:11:18 +0200 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-08-14 22:05:12 -0400 |
commit | 91194e9b046e18ed813d4632e1c72683aac944ad (patch) | |
tree | 77909686c0737b6150f90e0fdbdaddb3019ba35c /arch/sh/mm | |
parent | e1a8d38a17ce68776c313f0960f530371418c428 (diff) | |
download | linux-91194e9b046e18ed813d4632e1c72683aac944ad.tar.bz2 |
sh: 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 <grandmaster@al2klimov.de>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/mm')
0 files changed, 0 insertions, 0 deletions