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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180718163551.hn45gzxynq2wu6ns@kafai-mbp.dhcp.thefacebook.com>
Date:   Wed, 18 Jul 2018 09:35:51 -0700
From:   Martin KaFai Lau <kafai@...com>
To:     Daniel Borkmann <daniel@...earbox.net>
CC:     <alexei.starovoitov@...il.com>, <jakub.kicinski@...ronome.com>,
        <netdev@...r.kernel.org>
Subject: Re: [PATCH bpf-next] bpf: show in bpftool map overview whether btf
 is available

On Wed, Jul 18, 2018 at 11:19:42AM +0200, Daniel Borkmann wrote:
> For a quick overview in 'bpftool map' display 'btf' if it's
> available for the dump for a specific map:
> 
>   # bpftool map list
>   11: array  flags 0x0  btf
>           key 4B  value 20B  max_entries 40  memlock 4096B
> 
>   # bpftool --json --pretty map list
>   [{
>           "id": 11,
>           "type": "array",
>           "flags": 0,
>           "btf_available": true,
>           "bytes_key": 4,
>           "bytes_value": 20,
>           "max_entries": 40,
>           "bytes_memlock": 4096
>       }
>   ]
> 
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
Acked-by: Martin KaFai Lau <kafai@...com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ