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:   Sun, 12 Nov 2017 20:20:58 +0100
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Yonghong Song <yhs@...com>, ast@...com, netdev@...r.kernel.org
Cc:     kernel-team@...com
Subject: Re: [PATCH net-next 3/3 v2] bpf: fix and add test cases for
 ARG_CONST_SIZE_OR_ZERO semantics change

On 11/12/2017 05:04 PM, Yonghong Song wrote:
> Fix a few test cases to allow non-NULL map/packet/stack pointer
> with size = 0. Change a few tests using bpf_probe_read to use
> bpf_probe_write_user so ARG_CONST_SIZE arg can still be properly
> tested. One existing test case already covers size = 0 with non-NULL
> packet pointer, so add additional tests so all cases of
> size = 0 and 0 <= size <= legal_upper_bound with non-NULL
> map/packet/stack pointer are covered.
> 
> Signed-off-by: Yonghong Song <yhs@...com>
> Acked-by: Alexei Starovoitov <ast@...nel.org>

Acked-by: Daniel Borkmann <daniel@...earbox.net>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ