diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-25 00:43:48 +0300 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2020-07-25 00:44:52 +0300 |
commit | a6df49f4224324dd8588f6a0d9cff53cd61a196b (patch) | |
tree | 448b2f8dc16e64b4c36ba70baefcdcabf8a02f30 /drivers/reset/reset-ti-sci.c | |
parent | 2ea17d504a0ee9b357a5fd2bde257c2ec37ceca7 (diff) | |
download | linux-a6df49f4224324dd8588f6a0d9cff53cd61a196b.tar.xz |
firmware: ti_sci: 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>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'drivers/reset/reset-ti-sci.c')
-rw-r--r-- | drivers/reset/reset-ti-sci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-ti-sci.c b/drivers/reset/reset-ti-sci.c index bf68729ab729..b799aefad547 100644 --- a/drivers/reset/reset-ti-sci.c +++ b/drivers/reset/reset-ti-sci.c @@ -1,7 +1,7 @@ /* * Texas Instrument's System Control Interface (TI-SCI) reset driver * - * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/ + * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/ * Andrew F. Davis <afd@ti.com> * * This program is free software; you can redistribute it and/or modify |