Re: [PATCH bpf-next v4] bpftool: use only nftw for file tree parsing

2020-07-21 Thread Tony Ambardar
On Tue, 21 Jul 2020 at 14:50, Daniel Borkmann wrote: > > On 7/21/20 4:48 AM, Tony Ambardar wrote: > > The bpftool sources include code to walk file trees, but use multiple > > frameworks to do so: nftw and fts. While nftw conforms to POSIX/SUSv3 and > > is widely available, fts is not conformant a

Re: [PATCH bpf-next v4] bpftool: use only nftw for file tree parsing

2020-07-21 Thread Daniel Borkmann
On 7/21/20 4:48 AM, Tony Ambardar wrote: The bpftool sources include code to walk file trees, but use multiple frameworks to do so: nftw and fts. While nftw conforms to POSIX/SUSv3 and is widely available, fts is not conformant and less common, especially on non-glibc systems. The inconsistent fr

Re: [PATCH bpf-next v4] bpftool: use only nftw for file tree parsing

2020-07-21 Thread Quentin Monnet
On 21/07/2020 03:48, Tony Ambardar wrote: > The bpftool sources include code to walk file trees, but use multiple > frameworks to do so: nftw and fts. While nftw conforms to POSIX/SUSv3 and > is widely available, fts is not conformant and less common, especially on > non-glibc systems. The inconsis