diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-04 22:33:45 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-07-13 17:05:58 +0300 |
commit | 5a6b56de410c8c905bde4295ba8c3d75910aecea (patch) | |
tree | e602e84b92c0cbe5d4c67975f619cd8b23095dfb /drivers/iio/health/afe4403.c | |
parent | a777b22ff5549d5fc3b76146d9e8d44c0671a9c9 (diff) | |
download | linux-5a6b56de410c8c905bde4295ba8c3d75910aecea.tar.xz |
Replace HTTP links with HTTPS ones: Documentation/devicetree/bindings/iio
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>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> #for Matt's drivers
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/health/afe4403.c')
0 files changed, 0 insertions, 0 deletions