diff options
| author | Alexander A. Klimov <[email protected]> | 2020-07-19 09:39:39 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2020-07-20 14:42:28 +0000 |
| commit | 3ecdf2a5d262df01bc100472cb909580d0fdce69 (patch) | |
| tree | e6e012f182f99d433bf51df5816df8a330ac4d4d /scripts/gcc-plugins/sancov_plugin.c | |
| parent | ARM: s3c24xx: leds: Convert to use GPIO descriptors (diff) | |
| download | kernel-3ecdf2a5d262df01bc100472cb909580d0fdce69.tar.gz kernel-3ecdf2a5d262df01bc100472cb909580d0fdce69.zip | |
ARM: s3c24xx: 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: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
