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

2020-07-20 Thread Tony Ambardar
On Mon, 20 Jul 2020 at 01:13, Quentin Monnet wrote: > > On 17/07/2020 23:55, 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 v3] bpftool: use only nftw for file tree parsing

2020-07-20 Thread Quentin Monnet
On 17/07/2020 23:55, 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

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

2020-07-17 Thread Tony Ambardar
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 framework usage hampers maintenance and porta