summaryrefslogtreecommitdiffstats
path: root/lib/argv_split.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-14 19:55:28 +0200
committerJonathan Corbet <corbet@lwn.net>2020-07-23 14:53:58 -0600
commit76bd58f3c867f5a6b20d2e30c1c4bb4f9ff0e275 (patch)
treee71844a1ac622204017321ef192028fdb845b40f /lib/argv_split.c
parent5b5bbb8cc51be3c70993ddabfd216c5c769e8585 (diff)
downloadlinux-76bd58f3c867f5a6b20d2e30c1c4bb4f9ff0e275.tar.bz2
CREDITS: 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 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/20200714175528.46712-1-grandmaster@al2klimov.de Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'lib/argv_split.c')
0 files changed, 0 insertions, 0 deletions