From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH 0/3] bpf: Store/dump license string for loaded program Date: Mon, 23 Apr 2018 14:11:36 -0600 Message-ID: <20180423201134.r56ts7usec4jjnbh@ast-mbp> References: <20180423065927.23127-1-jolsa@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexei Starovoitov , Daniel Borkmann , lkml , netdev@vger.kernel.org, Quentin Monnet To: Jiri Olsa Return-path: Content-Disposition: inline In-Reply-To: <20180423065927.23127-1-jolsa@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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.