From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf-next] bpf: emit audit messages upon successful prog load and unload Date: Fri, 5 Oct 2018 13:26:53 -0700 Message-ID: <20181005202651.iigvvl3ybuya6ltt@ast-mbp.dhcp.thefacebook.com> References: <20181004135038.2876-1-daniel@iogearbox.net> <20181004171141.tsggdqnh65x2si4d@ast-mbp.dhcp.thefacebook.com> <20181004203949.388e9a38@redhat.com> <36266cde-3aa0-aeb4-9888-5e3f0e4d1911@iogearbox.net> <20181004222231.2edd5add@redhat.com> <20181004221013.o3c5junwfyaasuxo@ast-mbp.dhcp.thefacebook.com> <20181005061409.GA15872@krava> <20181005184434.uphwrbqkfx2isbx4@ast-mbp.dhcp.thefacebook.com> <20181005194249.GF20250@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jiri Olsa , Jesper Dangaard Brouer , Daniel Borkmann , ast@kernel.org, netdev@vger.kernel.org, Jiri Olsa To: Arnaldo Carvalho de Melo Return-path: Received: from mail-pf1-f177.google.com ([209.85.210.177]:39099 "EHLO mail-pf1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728170AbeJFD1P (ORCPT ); Fri, 5 Oct 2018 23:27:15 -0400 Received: by mail-pf1-f177.google.com with SMTP id c25-v6so5264925pfe.6 for ; Fri, 05 Oct 2018 13:26:56 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20181005194249.GF20250@kernel.org> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Oct 05, 2018 at 04:42:49PM -0300, Arnaldo Carvalho de Melo wrote: > > Is there a way for us to synthesize those prog load/unload for > preexisting loaded bpf objects? see 'bpftool prog show'. get_next_id + get_fd_by_id solve it race free.