aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-17 20:59:25 +0200
committerGreg Kroah-Hartman <[email protected]>2020-07-23 09:27:09 +0200
commit74b04fae4501f2b0424b01f0295bf26c5c8fce5a (patch)
treed536d9bf30125f98675dae09741254bfe0d2fa40 /scripts/gdb/linux/lists.py
parentc56967d674e361ebe716e66992e3c5332b25ac1f (diff)
mei: 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]> Acked-by: Tomas Winkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions