summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-03 20:51:14 +0300
committerStephen Boyd <sboyd@kernel.org>2020-07-11 03:15:34 +0300
commit5f1d8970d4cdba6ef3b2f3f11ef15edd62ce551a (patch)
tree4ae84c72376d0c9d2fb67e5241002255fac89137 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-5f1d8970d4cdba6ef3b2f3f11ef15edd62ce551a.tar.xz
Replace HTTP links with HTTPS ones: Common CLK framework
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 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> Link: https://lore.kernel.org/r/20200703175114.15027-1-grandmaster@al2klimov.de Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions