aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-19 10:20:20 +0000
committerSekhar Nori <[email protected]>2020-07-21 14:51:33 +0000
commitfb01eb36518f525a6b4e8d829e1127e6a82d7623 (patch)
tree8c8820074269b302dcc6c514f9d91ae1af3eac69 /scripts/gcc-plugins/sancov_plugin.c
parentLinux 5.8-rc1 (diff)
downloadkernel-fb01eb36518f525a6b4e8d829e1127e6a82d7623.tar.gz
kernel-fb01eb36518f525a6b4e8d829e1127e6a82d7623.zip
ARM: davinci: 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]> [[email protected]: drop obsolete hawkboard.org URL completeley fixup subject line prefix] Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions