Re: [PATCH 0/3] bpf: Store/dump license string for loaded program

From: Alexei Starovoitov
Date: Mon Apr 23 2018 - 16:11:48 EST


On Mon, Apr 23, 2018 at 08:59:24AM +0200, Jiri Olsa wrote:
> hi,
> sending the change to store and dump the license
> info for loaded BPF programs. It's important for
> us get the license info, when investigating on
> screwed up machine.

hmm. boolean flag whether bpf prog is gpl or not
is already exposed via bpf_prog_info.
I see no point of wasting extra 128 bytes of kernel memory.