Re: [PATCH 01/18] tools: bpf: Use local copy of headers including uapi/linux/filter.h

2020-07-01 Thread Alexei Starovoitov
On Tue, Jun 30, 2020 at 10:37 AM Will Deacon wrote: > > Pulling header files directly out of the kernel sources for inclusion in > userspace programs is highly error prone, not least because it bypasses > the kbuild infrastructure entirely and so may end up referencing other > header files that

[PATCH 01/18] tools: bpf: Use local copy of headers including uapi/linux/filter.h

2020-06-30 Thread Will Deacon
Pulling header files directly out of the kernel sources for inclusion in userspace programs is highly error prone, not least because it bypasses the kbuild infrastructure entirely and so may end up referencing other header files that have not been generated. Subsequent patches will cause