diff options
| author | Alexander A. Klimov <[email protected]> | 2020-07-13 16:40:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-07-23 07:44:15 +0000 |
| commit | a52c809769d3b4d5c94c96e9b49d898ce17128f0 (patch) | |
| tree | 886646d6ea0ff16e8a55c208c82d812f34df67fc /drivers/misc/sram-exec.c | |
| parent | android: binder.h: drop a duplicated word (diff) | |
| download | kernel-a52c809769d3b4d5c94c96e9b49d898ce17128f0.tar.gz kernel-a52c809769d3b4d5c94c96e9b49d898ce17128f0.zip | |
misc: 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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/misc/sram-exec.c')
0 files changed, 0 insertions, 0 deletions
