On Thu, Oct 17, 2019 at 11:09:33PM -0700, Alexei Starovoitov wrote: > Only raw_tracepoint program type can have bpf_attr.attach_btf_id >= 0. > Make sure to reject other program types that accidentally set it to non-zero. > > Fixes: ccfe29eb29c2 ("bpf: Add attach_btf_id attribute to program load") > Reported-by: Andrii Nakryiko <andriin@xxxxxx> > Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx> Applied, thanks!