watchdog: 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> Reviewed-by:
Guenter Roeck <linux@roeck-us.net> Acked-by:
Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20200713205821.38223-1-grandmaster@al2klimov.de Signed-off-by:
Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Wim Van Sebroeck <wim@linux-watchdog.org>
Showing
- Documentation/devicetree/bindings/watchdog/davinci-wdt.txt 2 additions, 2 deletionsDocumentation/devicetree/bindings/watchdog/davinci-wdt.txt
- drivers/watchdog/Kconfig 1 addition, 1 deletiondrivers/watchdog/Kconfig
- drivers/watchdog/dw_wdt.c 1 addition, 1 deletiondrivers/watchdog/dw_wdt.c
- drivers/watchdog/nv_tco.c 1 addition, 1 deletiondrivers/watchdog/nv_tco.c
- drivers/watchdog/nv_tco.h 1 addition, 1 deletiondrivers/watchdog/nv_tco.h
- drivers/watchdog/sp5100_tco.c 1 addition, 1 deletiondrivers/watchdog/sp5100_tco.c
Loading
Please register or sign in to comment