Re: [PATCH iproute2 -master] bpf: also check elf for official e_machine value

2016-07-18 Thread Alexei Starovoitov
On Tue, Jul 19, 2016 at 01:09:52AM +0200, Daniel Borkmann wrote: > Use the official BPF ELF e_machine value that was assigned recently [1] > and will be propagated to glibc, libelf et al. LLVM will switch to it > in 3.9 release, therefore we need to prepare tc to check for EM_ELF as > well, older v

[PATCH iproute2 -master] bpf: also check elf for official e_machine value

2016-07-18 Thread Daniel Borkmann
Use the official BPF ELF e_machine value that was assigned recently [1] and will be propagated to glibc, libelf et al. LLVM will switch to it in 3.9 release, therefore we need to prepare tc to check for EM_ELF as well, older version still have the EM_NONE. [1] https://github.com/llvm-mirror/llv