Skip to content

Commit 4ce7796

Browse files
Al2Klimovrafaeljw
authored andcommitted
ACPI: 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 <[email protected]> Acked-by: Vishal Verma <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 0585c1c commit 4ce7796

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

Documentation/firmware-guide/acpi/DSD-properties-rules.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ contents.
9696
References
9797
==========
9898

99-
.. [1] http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf
100-
.. [2] http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf
99+
.. [1] https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf
100+
.. [2] https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf

Documentation/firmware-guide/acpi/dsd/data-node-references.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ References
8585
==========
8686

8787
[1] Hierarchical Data Extension UUID For _DSD.
88-
<http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>,
88+
<https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>,
8989
referenced 2018-07-17.
9090

9191
[2] Device Properties UUID For _DSD.
92-
<http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>,
92+
<https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>,
9393
referenced 2016-10-04.

Documentation/firmware-guide/acpi/dsd/graph.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,23 +154,23 @@ References
154154
==========
155155

156156
[1] _DSD (Device Specific Data) Implementation Guide.
157-
http://www.uefi.org/sites/default/files/resources/_DSD-implementation-guide-toplevel-1_1.htm,
157+
https://www.uefi.org/sites/default/files/resources/_DSD-implementation-guide-toplevel-1_1.htm,
158158
referenced 2016-10-03.
159159

160-
[2] Devicetree. http://www.devicetree.org, referenced 2016-10-03.
160+
[2] Devicetree. https://www.devicetree.org, referenced 2016-10-03.
161161

162162
[3] Documentation/devicetree/bindings/graph.txt
163163

164164
[4] Device Properties UUID For _DSD.
165-
http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf,
165+
https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf,
166166
referenced 2016-10-04.
167167

168168
[5] Hierarchical Data Extension UUID For _DSD.
169-
http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf,
169+
https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf,
170170
referenced 2016-10-04.
171171

172172
[6] Advanced Configuration and Power Interface Specification.
173-
http://www.uefi.org/sites/default/files/resources/ACPI_6_1.pdf,
173+
https://www.uefi.org/sites/default/files/resources/ACPI_6_1.pdf,
174174
referenced 2016-10-04.
175175

176176
[7] _DSD Device Properties Usage Rules.

Documentation/firmware-guide/acpi/dsd/leds.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ where
9090
References
9191
==========
9292

93-
[1] Device tree. <URL:http://www.devicetree.org>, referenced 2019-02-21.
93+
[1] Device tree. <URL:https://www.devicetree.org>, referenced 2019-02-21.
9494

9595
[2] Advanced Configuration and Power Interface Specification.
9696
<URL:https://uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf>,
@@ -101,11 +101,11 @@ References
101101
[4] Documentation/devicetree/bindings/media/video-interfaces.txt
102102

103103
[5] Device Properties UUID For _DSD.
104-
<URL:http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>,
104+
<URL:https://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf>,
105105
referenced 2019-02-21.
106106

107107
[6] Hierarchical Data Extension UUID For _DSD.
108-
<URL:http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>,
108+
<URL:https://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf>,
109109
referenced 2019-02-21.
110110

111111
[7] Documentation/firmware-guide/acpi/dsd/data-node-references.rst

Documentation/firmware-guide/acpi/lpit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Low Power Idle Table (LPIT)
77
To enumerate platform Low Power Idle states, Intel platforms are using
88
“Low Power Idle Table” (LPIT). More details about this table can be
99
downloaded from:
10-
http://www.uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf
10+
https://www.uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf
1111

1212
Residencies for each low power state can be read via FFH
1313
(Function fixed hardware) or a memory mapped interface.

drivers/acpi/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ menuconfig ACPI
3232
Linux support for ACPI is based on Intel Corporation's ACPI
3333
Component Architecture (ACPI CA). For more information on the
3434
ACPI CA, see:
35-
<http://acpica.org/>
35+
<https://acpica.org/>
3636

3737
ACPI is an open industry specification originally co-developed by
3838
Hewlett-Packard, Intel, Microsoft, Phoenix, and Toshiba. Currently,

drivers/acpi/nfit/nfit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/* ACPI 6.1 */
1717
#define UUID_NFIT_BUS "2f10e7a4-9e91-11e4-89d3-123b93f75cba"
1818

19-
/* http://pmem.io/documents/NVDIMM_DSM_Interface-V1.6.pdf */
19+
/* https://pmem.io/documents/NVDIMM_DSM_Interface-V1.6.pdf */
2020
#define UUID_NFIT_DIMM "4309ac30-0d11-11e4-9191-0800200c9a66"
2121

2222
/* https://github.com/HewlettPackard/hpe-nvm/blob/master/Documentation/ */

0 commit comments

Comments
 (0)