aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-13 06:48:50 +0000
committerTony Lindgren <[email protected]>2020-07-13 18:37:54 +0000
commite9dbebaf9b9de381a67500e39e63c9b1219c4f99 (patch)
treeb81b5ba88e8f98d828c575e69a36d9db1dfba4be /scripts/gcc-plugins/sancov_plugin.c
parentLinux 5.8-rc1 (diff)
downloadkernel-e9dbebaf9b9de381a67500e39e63c9b1219c4f99.tar.gz
kernel-e9dbebaf9b9de381a67500e39e63c9b1219c4f99.zip
ARM: OMAP: 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 <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions