diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-06-21 15:35:12 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-06-26 11:09:04 -0600 |
commit | d3603f4c30c24b43f49bf9c1dbc93b06f7a7775d (patch) | |
tree | 19f639328c7094c3c328908753db332f3d115986 /drivers/pci/pci-stub.c | |
parent | c5f95886fa9837b0cfc33ebcf4cdb0797018a991 (diff) | |
download | linux-d3603f4c30c24b43f49bf9c1dbc93b06f7a7775d.tar.gz |
Replace HTTP links with HTTPS ones: Documentation/driver-api
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 both the HTTP and HTTPS versions
return 200 OK and serve the same content:
Replace HTTP with HTTPS.
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
Link: https://lore.kernel.org/r/20200621133512.46311-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/pci/pci-stub.c')
0 files changed, 0 insertions, 0 deletions