diff options
author | 2020-07-22 21:24:54 +0200 | |
---|---|---|
committer | 2020-08-13 07:50:59 +0100 | |
commit | 4f4ed4543e2096dc0158ff79bd6d8bc09e27fa93 (patch) | |
tree | e39bead62579cc472c3688bd0773d51c015f9adc /scripts/gen_compile_commands.py | |
parent | mfd: dln2: Run event handler loop under spinlock (diff) | |
download | linux-dev-4f4ed4543e2096dc0158ff79bd6d8bc09e27fa93.tar.xz linux-dev-4f4ed4543e2096dc0158ff79bd6d8bc09e27fa93.zip |
mfd: 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 <grandmaster@al2klimov.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions