diff options
| author | Alexander A. Klimov <[email protected]> | 2020-05-26 06:05:44 +0000 |
|---|---|---|
| committer | Jonathan Corbet <[email protected]> | 2020-06-08 15:30:19 +0000 |
| commit | 93431e0607e58a3c997a134adc0fad4fdc147dab (patch) | |
| tree | e57b739e325bb0a8088aa9266ce5265ad5e6a133 /tools/perf/scripts/python/futex-contention.py | |
| parent | docs: it_IT: address invalid reference warnings (diff) | |
| download | kernel-93431e0607e58a3c997a134adc0fad4fdc147dab.tar.gz kernel-93431e0607e58a3c997a134adc0fad4fdc147dab.zip | |
Replace HTTP links with HTTPS ones: documentation
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:
For each line:
If doesn't contain `\bxmlns\b`:
For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
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: Jonathan Corbet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
