diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 11:39:39 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-07-20 16:42:28 +0200 |
commit | 3ecdf2a5d262df01bc100472cb909580d0fdce69 (patch) | |
tree | e6e012f182f99d433bf51df5816df8a330ac4d4d /security | |
parent | f7f611f2b1dc69547d425de0daeac548add2c761 (diff) | |
download | linux-3ecdf2a5d262df01bc100472cb909580d0fdce69.tar.bz2 |
ARM: s3c24xx: 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: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions