lkml.org 
[lkml]   [2020]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Replace HTTP links with HTTPS ones: RISC-V
From
On Sun, 05 Jul 2020 15:02:36 PDT (-0700), grandmaster@al2klimov.de 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
>
> arch/riscv/include/uapi/asm/unistd.h | 2 +-
> tools/arch/riscv/include/uapi/asm/unistd.h | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/riscv/include/uapi/asm/unistd.h b/arch/riscv/include/uapi/asm/unistd.h
> index 13ce76cc5aff..4b989ae15d59 100644
> --- a/arch/riscv/include/uapi/asm/unistd.h
> +++ b/arch/riscv/include/uapi/asm/unistd.h
> @@ -12,7 +12,7 @@
> * GNU General Public License for more details.
> *
> * You should have received a copy of the GNU General Public License
> - * along with this program. If not, see <http://www.gnu.org/licenses/>.
> + * along with this program. If not, see <https://www.gnu.org/licenses/>.
> */
>
> #ifdef __LP64__
> diff --git a/tools/arch/riscv/include/uapi/asm/unistd.h b/tools/arch/riscv/include/uapi/asm/unistd.h
> index 0e2eeeb1fd27..f506cca520b0 100644
> --- a/tools/arch/riscv/include/uapi/asm/unistd.h
> +++ b/tools/arch/riscv/include/uapi/asm/unistd.h
> @@ -12,7 +12,7 @@
> * GNU General Public License for more details.
> *
> * You should have received a copy of the GNU General Public License
> - * along with this program. If not, see <http://www.gnu.org/licenses/>.
> + * along with this program. If not, see <https://www.gnu.org/licenses/>.
> */
>
> #ifdef __LP64__

Thanks. This is on for-next.

Unless anyone has any objections I'll eventually go remove all the license
boilerplates from arch/rsicv, as it looks like I missed a few when I converted
them over:

$ git grep "GNU" | grep riscv
arch/riscv/Makefile:# This file is subject to the terms and conditions of the GNU General Public
arch/riscv/boot/Makefile:# This file is subject to the terms and conditions of the GNU General Public
arch/riscv/boot/install.sh:# This file is subject to the terms and conditions of the GNU General Public
arch/riscv/include/uapi/asm/elf.h: * it under the terms of the GNU General Public License as published by
arch/riscv/kernel/fpu.S: * modify it under the terms of the GNU General Public License
arch/riscv/kernel/fpu.S: * GNU General Public License for more details.

\
 
 \ /
  Last update: 2020-07-17 01:20    [W:1.093 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site