diff options
author | Alexander A. Klimov | 2020-07-08 12:35:19 +0200 |
---|---|---|
committer | David S. Miller | 2020-07-08 10:35:09 -0700 |
commit | 5d75c04306f7f906c1200bef42406ccb71d4b75f (patch) | |
tree | 8962c03d49c1d1946dede7e71ad8745149e2b615 /drivers/net/phy/phy_device.c | |
parent | 93165ecbe1d0298bdaa9ddc4b4e4ff01831dc6c9 (diff) |
Replace HTTP links with HTTPS ones: ATMEL MACB ETHERNET DRIVER
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 <grandmaster@al2klimov.de>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions