aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-13 09:53:51 +0000
committerDavid S. Miller <[email protected]>2020-07-13 23:59:29 +0000
commit37719576046b553092d5a88de90459306dfdec6b (patch)
treebd1b7742cf12b74ceba1bdf64db88eaa6201eec6 /scripts/gcc-plugins/sancov_plugin.c
parentsparc: piggyback: handle invalid image (diff)
downloadkernel-37719576046b553092d5a88de90459306dfdec6b.tar.gz
kernel-37719576046b553092d5a88de90459306dfdec6b.zip
arch/sparc: 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: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions