diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 17:38:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-22 15:31:55 +0200 |
commit | 5856d8bd308f9467cefa65d04e184a56a3977559 (patch) | |
tree | d38edd85356f693a3378ecdebb99640de7d48827 /lib/plist.c | |
parent | Merge series "Add ASoC AHUB components for Tegra210 and later" from Sameer Pu... (diff) | |
download | linux-5856d8bd308f9467cefa65d04e184a56a3977559.tar.xz linux-5856d8bd308f9467cefa65d04e184a56a3977559.zip |
ASoC: 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>
Link: https://lore.kernel.org/r/20200719153822.59788-1-grandmaster@al2klimov.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions