All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: "Alexander A. Klimov"
	<grandmaster-ecYmzcxolEDucvZx32VAuQ@public.gmane.org>
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	wg-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org,
	mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
	kuba-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	dmurphy-l0cyMroinI0@public.gmane.org,
	krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	masahiroy-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	sriram.dash-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	hpeter-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org
Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: CAN network drivers
Date: Wed, 15 Jul 2020 15:46:53 -0600	[thread overview]
Message-ID: <20200715214653.GA872937@bogus> (raw)
In-Reply-To: <20200705075606.22802-1-grandmaster-ecYmzcxolEDucvZx32VAuQ@public.gmane.org>

On Sun, 05 Jul 2020 09:56:06 +0200, 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 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-ecYmzcxolEDucvZx32VAuQ@public.gmane.org>
> ---
>  Continuing my work started at 93431e0607e5.
> 
>  If there are any URLs to be removed completely or at least not 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
> 
>  Documentation/devicetree/bindings/net/can/grcan.txt |  2 +-
>  drivers/net/can/grcan.c                             |  2 +-
>  drivers/net/can/m_can/m_can.c                       |  2 +-
>  drivers/net/can/m_can/m_can.h                       |  2 +-
>  drivers/net/can/m_can/m_can_platform.c              |  2 +-
>  drivers/net/can/m_can/tcan4x5x.c                    |  2 +-
>  drivers/net/can/sja1000/Kconfig                     | 12 ++++++------
>  drivers/net/can/sja1000/tscan1.c                    |  2 +-
>  drivers/net/can/slcan.c                             |  2 +-
>  drivers/net/can/ti_hecc.c                           |  4 ++--
>  drivers/net/can/usb/Kconfig                         |  6 +++---
>  11 files changed, 19 insertions(+), 19 deletions(-)
> 

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: "Alexander A. Klimov" <grandmaster@al2klimov.de>
Cc: robh+dt@kernel.org, leon@kernel.org, wg@grandegger.com,
	mkl@pengutronix.de, kuba@kernel.org, dmurphy@ti.com,
	krzk@kernel.org, masahiroy@kernel.org, linux-can@vger.kernel.org,
	sriram.dash@samsung.com, netdev@vger.kernel.org,
	kvalo@codeaurora.org, linux-kernel@vger.kernel.org,
	hpeter@gmail.com, devicetree@vger.kernel.org,
	davem@davemloft.net
Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: CAN network drivers
Date: Wed, 15 Jul 2020 15:46:53 -0600	[thread overview]
Message-ID: <20200715214653.GA872937@bogus> (raw)
In-Reply-To: <20200705075606.22802-1-grandmaster@al2klimov.de>

On Sun, 05 Jul 2020 09:56:06 +0200, 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 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>
> ---
>  Continuing my work started at 93431e0607e5.
> 
>  If there are any URLs to be removed completely or at least not 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
> 
>  Documentation/devicetree/bindings/net/can/grcan.txt |  2 +-
>  drivers/net/can/grcan.c                             |  2 +-
>  drivers/net/can/m_can/m_can.c                       |  2 +-
>  drivers/net/can/m_can/m_can.h                       |  2 +-
>  drivers/net/can/m_can/m_can_platform.c              |  2 +-
>  drivers/net/can/m_can/tcan4x5x.c                    |  2 +-
>  drivers/net/can/sja1000/Kconfig                     | 12 ++++++------
>  drivers/net/can/sja1000/tscan1.c                    |  2 +-
>  drivers/net/can/slcan.c                             |  2 +-
>  drivers/net/can/ti_hecc.c                           |  4 ++--
>  drivers/net/can/usb/Kconfig                         |  6 +++---
>  11 files changed, 19 insertions(+), 19 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

  parent reply	other threads:[~2020-07-15 21:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-05  7:56 [PATCH] Replace HTTP links with HTTPS ones: CAN network drivers Alexander A. Klimov
2020-07-05 10:34 ` Marc Kleine-Budde
     [not found] ` <20200705075606.22802-1-grandmaster-ecYmzcxolEDucvZx32VAuQ@public.gmane.org>
2020-07-15 21:46   ` Rob Herring [this message]
2020-07-15 21:46     ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200715214653.GA872937@bogus \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=dmurphy-l0cyMroinI0@public.gmane.org \
    --cc=grandmaster-ecYmzcxolEDucvZx32VAuQ@public.gmane.org \
    --cc=hpeter-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=kuba-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
    --cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=masahiroy-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sriram.dash-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=wg-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.