summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-13 13:55:02 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-07-13 18:54:37 +0300
commit8479eb82084112b1cf5862099536b384bba5b92c (patch)
treee7cc59b153c87cdf7e5737ff0a89cd485253d310 /init
parent3ff79754d7a2b27f6d2d56b3951fc9aa8080b063 (diff)
downloadlinux-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