aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-20 23:12:31 +0200
committerJonathan Corbet <[email protected]>2020-07-23 14:04:37 -0600
commitf6655c75610ebf17461f6667c034a892c99be292 (patch)
treec01951a59edfc37b4f78fa0801e7ddfd12bcdccf /scripts/gcc-plugins/cyc_complexity_plugin.c
parentcb66eb11da6500f8a0fb37260be0e714b5093496 (diff)
arm64: 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions