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: <mhng-79889b3a-dda3-49ab-ba9b-0c20292c2c31@palmerdabbelt-glaptop1>
Date:   Thu, 16 Jul 2020 16:19:18 -0700 (PDT)
From:   Palmer Dabbelt <palmer@...belt.com>
To:     grandmaster@...klimov.de
CC:     Paul Walmsley <paul.walmsley@...ive.com>, aou@...s.berkeley.edu,
        christian@...uner.io, linux-riscv@...ts.infradead.org,
        linux-kernel@...r.kernel.org, grandmaster@...klimov.de
Subject:     Re: [PATCH] Replace HTTP links with HTTPS ones: RISC-V

On Sun, 05 Jul 2020 15:02:36 PDT (-0700), grandmaster@...klimov.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@...klimov.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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ