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]
Date:   Fri, 06 Dec 2019 11:18:47 -0800
From:   Paul Burton <paulburton@...nel.org>
To:     Alexander Lobakin <alobakin@...nk.ru>
CC:     linux-mips@...r.kernel.org
Subject: Re: [PATCH mips-fixes] MIPS: BPF: eBPF JIT: check for MIPS ISA compliance  in Kconfig

Hello,

Alexander Lobakin wrote:
> It is completely wrong to check for compile-time MIPS ISA revision in
> the body of bpf_int_jit_compile() as it may lead to get MIPS JIT fully
> omitted by the CC while the rest system will think that the JIT is
> actually present and works [1].
> We can check if the selected CPU really supports MIPS eBPF JIT at
> configure time and avoid such situations when kernel can be built
> without both JIT and interpreter, but with CONFIG_BPF_SYSCALL=y.
> 
> [1] https://lore.kernel.org/linux-mips/09d713a59665d745e21d021deeaebe0a@dlink.ru/

Applied to mips-fixes.

> commit 3721376d7d02
> https://git.kernel.org/mips/c/3721376d7d02
> 
> Fixes: 716850ab104d ("MIPS: eBPF: Initial eBPF support for MIPS32 architecture.")
> Signed-off-by: Alexander Lobakin <alobakin@...nk.ru>
> Signed-off-by: Paul Burton <paulburton@...nel.org>

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paulburton@...nel.org to report it. ]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ