On Fri, May 14, 2021 at 4:14 PM Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote: > > On Fri, May 14, 2021 at 1:34 PM Andrii Nakryiko <andrii@xxxxxxxxxx> wrote: > > > > Detect use of static entry-point BPF programs (those with SEC() markings) and > > emit error message. > > Applied. I was wondering whether you've seen such combinations ? Haven't seen this anywhere in the real code, only tested locally by adding static to one of selftests. Unlikely to break anyone, but good to be as strict as with maps.