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, 20 Jul 2018 10:37:51 +0200
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Martin KaFai Lau <kafai@...com>, netdev@...r.kernel.org
Cc:     Alexei Starovoitov <ast@...com>, kernel-team@...com
Subject: Re: [PATCH bpf] bpf: btf: Clean up BTF_INT_BITS() in uapi btf.h

On 07/20/2018 07:14 AM, Martin KaFai Lau wrote:
> This patch shrinks the BTF_INT_BITS() mask.  The current
> btf_int_check_meta() ensures the nr_bits of an integer
> cannot exceed 64.  Hence, it is mostly an uapi cleanup.
> 
> The actual btf usage (i.e. seq_show()) is also modified
> to use u8 instead of u16.  The verification (e.g. btf_int_check_meta())
> path stays as is to deal with invalid BTF situation.
> 
> Fixes: 69b693f0aefa ("bpf: btf: Introduce BPF Type Format (BTF)")
> Signed-off-by: Martin KaFai Lau <kafai@...com>

Applied to bpf, thanks Martin!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ