From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf-next 09/11] libbpf: Support loading individual progs Date: Wed, 12 Sep 2018 17:10:15 -0700 Message-ID: <20180913001014.cngoc2zwt7ajbt75@ast-mbp> References: <20180912003640.28316-1-joe@wand.net.nz> <20180912003640.28316-10-joe@wand.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: daniel@iogearbox.net, netdev@vger.kernel.org, ast@kernel.org, john.fastabend@gmail.com, tgraf@suug.ch, kafai@fb.com, nitin.hande@gmail.com, mauricio.vasquez@polito.it To: Joe Stringer Return-path: Received: from mail-pg1-f193.google.com ([209.85.215.193]:38760 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbeIMFRM (ORCPT ); Thu, 13 Sep 2018 01:17:12 -0400 Received: by mail-pg1-f193.google.com with SMTP id t84-v6so1856873pgb.5 for ; Wed, 12 Sep 2018 17:10:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180912003640.28316-10-joe@wand.net.nz> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Sep 11, 2018 at 05:36:38PM -0700, Joe Stringer wrote: > Allow the individual program load to be invoked. This will help with > testing, where a single ELF may contain several sections, some of which > denote subprograms that are expected to fail verification, along with > some which are expected to pass verification. By allowing programs to be > iterated and individually loaded, each program can be independently > checked against its expected verification result. > > Signed-off-by: Joe Stringer Acked-by: Alexei Starovoitov