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

2020-07-15 Thread Tony Ambardar
On Wed, 15 Jul 2020 at 10:35, Quentin Monnet wrote: > > 2020-07-14 22:12 UTC-0700 ~ 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

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

2020-07-15 Thread Quentin Monnet
2020-07-14 22:12 UTC-0700 ~ 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 inconsi

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

2020-07-14 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