diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-13 13:55:02 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-07-13 18:54:37 +0300 |
commit | 8479eb82084112b1cf5862099536b384bba5b92c (patch) | |
tree | e7cc59b153c87cdf7e5737ff0a89cd485253d310 /init | |
parent | 3ff79754d7a2b27f6d2d56b3951fc9aa8080b063 (diff) | |
download | linux-8479eb82084112b1cf5862099536b384bba5b92c.tar.xz |
cpufreq: 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: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions