aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorAlexander A. Klimov <[email protected]>2020-07-19 18:49:59 +0200
committerHerbert Xu <[email protected]>2020-07-23 17:34:20 +1000
commit9332a9e73918bd0a1d5ef40a3357931b9fe0cf8a (patch)
treebdb823c2e18e2bfbe09c7ed77eec79241a37b826 /scripts/gdb/linux/lists.py
parentdd3240a28c08f8092386c76951408966bf4005ff (diff)
crypto: 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: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions