diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-09 21:28:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-03 18:48:46 -0700 |
commit | 2c8cbe0b2971f75073eddf848686a213132fce47 (patch) | |
tree | 5ca87ca3ae980cef0d08981039b36ee12c3ea1ff | |
parent | ac3a0c8472969a03c0496ae774b3a29eb26c8d5a (diff) | |
download | ide-2c8cbe0b2971f75073eddf848686a213132fce47.tar.gz |
IDE SUBSYSTEM: 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 <grandmaster@al2klimov.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/ide/Kconfig | 2 | ||||
-rw-r--r-- | drivers/ide/hpt366.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 973ed4b684cec..410d717d5ab27 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig @@ -98,7 +98,7 @@ config IDE_GD_ATAPI For information about jumper settings and the question of when a ZIP drive uses a partition table, see - <http://www.win.tue.nl/~aeb/linux/zip/zip-1.html>. + <https://www.win.tue.nl/~aeb/linux/zip/zip-1.html>. If unsure, say N. diff --git a/drivers/ide/hpt366.c b/drivers/ide/hpt366.c index fd3b5da44619b..1bcc7bec30fb1 100644 --- a/drivers/ide/hpt366.c +++ b/drivers/ide/hpt366.c @@ -13,7 +13,7 @@ * * * HighPoint has its own drivers (open source except for the RAID part) - * available from http://www.highpoint-tech.com/USA_new/service_support.htm + * available from https://www.highpoint-tech.com/USA_new/service_support.htm * This may be useful to anyone wanting to work on this driver, however do not * trust them too much since the code tends to become less and less meaningful * as the time passes... :-/ |