diff options
| author | Alexander A. Klimov <[email protected]> | 2020-07-13 09:53:51 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-13 23:59:29 +0000 |
| commit | 37719576046b553092d5a88de90459306dfdec6b (patch) | |
| tree | bd1b7742cf12b74ceba1bdf64db88eaa6201eec6 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | sparc: piggyback: handle invalid image (diff) | |
| download | kernel-37719576046b553092d5a88de90459306dfdec6b.tar.gz kernel-37719576046b553092d5a88de90459306dfdec6b.zip | |
arch/sparc: 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: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
