diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 10:58:53 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-08-19 10:05:39 +0300 |
commit | 88ca7bfb2137b9a499eb1cddfa5af47beb58ca17 (patch) | |
tree | 579d59f7d6657de883896cffe1bdd97e14aee548 /arch/arm/mach-omap2/clockdomains43xx_data.c | |
parent | 3aa36fdd3073487801d14dbecc64c10502d62dc2 (diff) |
ARM: OMAP2+: 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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/clockdomains43xx_data.c')
0 files changed, 0 insertions, 0 deletions