lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <98a8c378-3220-65e0-965c-5b0f4167605d@ti.com>
Date:   Fri, 17 Jul 2020 10:26:08 +0300
From:   Tero Kristo <t-kristo@...com>
To:     "Alexander A. Klimov" <grandmaster@...klimov.de>, <nm@...com>,
        <robh+dt@...nel.org>, <linux-arm-kernel@...ts.infradead.org>,
        <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm64: dts: ti: k3-*: Replace HTTP links with HTTPS ones

On 13/07/2020 13:14, Alexander A. Klimov wrote:
> 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@...klimov.de>

Queued up for 5.9, thanks.

-Tero

> ---
>   Continuing my work started at 93431e0607e5.
>   See also: git log --oneline '--author=Alexander A. Klimov <grandmaster@...klimov.de>' v5.7..master
>   (Actually letting a shell for loop submit all this stuff for me.)
> 
>   If there are any URLs to be removed completely or at least not just HTTPSified:
>   Just clearly say so and I'll *undo my change*.
>   See also: https://lkml.org/lkml/2020/6/27/64
> 
>   If there are any valid, but yet not changed URLs:
>   See: https://lkml.org/lkml/2020/6/26/837
> 
>   If you apply the patch, please let me know.
> 
>   Sorry again to all maintainers who complained about subject lines.
>   Now I realized that you want an actually perfect prefixes,
>   not just subsystem ones.
>   I tried my best...
>   And yes, *I could* (at least half-)automate it.
>   Impossible is nothing! :)
> 
> 
>   arch/arm64/boot/dts/ti/Makefile                       | 2 +-
>   arch/arm64/boot/dts/ti/k3-am65-main.dtsi              | 2 +-
>   arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi               | 2 +-
>   arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi            | 2 +-
>   arch/arm64/boot/dts/ti/k3-am65.dtsi                   | 2 +-
>   arch/arm64/boot/dts/ti/k3-am654-base-board.dts        | 2 +-
>   arch/arm64/boot/dts/ti/k3-am654.dtsi                  | 2 +-
>   arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 2 +-
>   arch/arm64/boot/dts/ti/k3-j721e-main.dtsi             | 2 +-
>   arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi       | 2 +-
>   arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi           | 2 +-
>   arch/arm64/boot/dts/ti/k3-j721e.dtsi                  | 2 +-
>   include/dt-bindings/pinctrl/k3.h                      | 2 +-
>   13 files changed, 13 insertions(+), 13 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
> index b397945fdf73..05c0bebf65d4 100644
> --- a/arch/arm64/boot/dts/ti/Makefile
> +++ b/arch/arm64/boot/dts/ti/Makefile
> @@ -3,7 +3,7 @@
>   # Make file to build device tree binaries for boards based on
>   # Texas Instruments Inc processors
>   #
> -# Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
> +# Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
>   #
>   
>   dtb-$(CONFIG_ARCH_K3_AM6_SOC) += k3-am654-base-board.dtb
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> index 61815228e230..940acc6cbf26 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for AM6 SoC Family Main Domain peripherals
>    *
> - * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   #include <dt-bindings/phy/phy-am654-serdes.h>
>   
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
> index ae5f813d0cac..8c1abcfe0860 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for AM6 SoC Family MCU Domain peripherals
>    *
> - * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   &cbass_mcu {
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
> index 54a133fa1bf2..dd75a5592539 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for AM6 SoC Family Wakeup Domain peripherals
>    *
> - * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   &cbass_wakeup {
> diff --git a/arch/arm64/boot/dts/ti/k3-am65.dtsi b/arch/arm64/boot/dts/ti/k3-am65.dtsi
> index 5be75e430965..27c0406b10ba 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for AM6 SoC Family
>    *
> - * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   #include <dt-bindings/gpio/gpio.h>
> diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> index 2f3d3316a1cf..78084a507fcf 100644
> --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts
> @@ -1,6 +1,6 @@
>   // SPDX-License-Identifier: GPL-2.0
>   /*
> - * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   /dts-v1/;
> diff --git a/arch/arm64/boot/dts/ti/k3-am654.dtsi b/arch/arm64/boot/dts/ti/k3-am654.dtsi
> index b221abf43ac2..f0a6541b8042 100644
> --- a/arch/arm64/boot/dts/ti/k3-am654.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am654.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for AM6 SoC family in Quad core configuration
>    *
> - * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   #include "k3-am65.dtsi"
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
> index 6df823aaa37c..7de37e8abfbb 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
> +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
> @@ -1,6 +1,6 @@
>   // SPDX-License-Identifier: GPL-2.0
>   /*
> - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   /dts-v1/;
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
> index 96c929da639d..bdeda701af7c 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for J721E SoC Family Main Domain peripherals
>    *
> - * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2019 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   &cbass_main {
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
> index dc31bd0434cb..4e1865d2d4b1 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for J721E SoC Family MCU/WAKEUP Domain peripherals
>    *
> - * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2019 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   &cbass_mcu_wakeup {
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
> index 7680109ca60a..8fa3361e5e45 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
> @@ -1,6 +1,6 @@
>   // SPDX-License-Identifier: GPL-2.0
>   /*
> - * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   /dts-v1/;
> diff --git a/arch/arm64/boot/dts/ti/k3-j721e.dtsi b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
> index 2f9a56d9b114..d035b61e0e16 100644
> --- a/arch/arm64/boot/dts/ti/k3-j721e.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j721e.dtsi
> @@ -2,7 +2,7 @@
>   /*
>    * Device Tree Source for J721E SoC Family
>    *
> - * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2016-2019 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   
>   #include <dt-bindings/interrupt-controller/irq.h>
> diff --git a/include/dt-bindings/pinctrl/k3.h b/include/dt-bindings/pinctrl/k3.h
> index 499de6216581..b0eea7cc6e23 100644
> --- a/include/dt-bindings/pinctrl/k3.h
> +++ b/include/dt-bindings/pinctrl/k3.h
> @@ -3,7 +3,7 @@
>    * This header provides constants for pinctrl bindings for TI's K3 SoC
>    * family.
>    *
> - * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
> + * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
>    */
>   #ifndef _DT_BINDINGS_PINCTRL_TI_K3_H
>   #define _DT_BINDINGS_PINCTRL_TI_K3_H
> 

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ