Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

reset: 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: Philipp Zabel <p.zabel@pengutronix.de>

authored by

Alexander A. Klimov and committed by
Philipp Zabel
ffebbeca 30864678

+2 -2
+1 -1
drivers/reset/reset-ti-syscon.c
··· 1 1 /* 2 2 * TI SYSCON regmap reset driver 3 3 * 4 - * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ 4 + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 5 5 * Andrew F. Davis <afd@ti.com> 6 6 * Suman Anna <afd@ti.com> 7 7 *
+1 -1
include/dt-bindings/reset/ti-syscon.h
··· 2 2 /* 3 3 * TI Syscon Reset definitions 4 4 * 5 - * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ 5 + * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 6 6 */ 7 7 8 8 #ifndef __DT_BINDINGS_RESET_TI_SYSCON_H__