diff options
| author | Alexander A. Klimov <[email protected]> | 2020-07-24 21:43:48 +0000 |
|---|---|---|
| committer | Santosh Shilimkar <[email protected]> | 2020-07-24 21:44:52 +0000 |
| commit | a6df49f4224324dd8588f6a0d9cff53cd61a196b (patch) | |
| tree | 448b2f8dc16e64b4c36ba70baefcdcabf8a02f30 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | soc: ti/ti_sci_protocol.h: drop a duplicated word + clarify (diff) | |
| download | kernel-a6df49f4224324dd8588f6a0d9cff53cd61a196b.tar.gz kernel-a6df49f4224324dd8588f6a0d9cff53cd61a196b.zip | |
firmware: ti_sci: 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]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Santosh Shilimkar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
