From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH v2 net-next 3/3] bpf: add unprivileged bpf tests Date: Thu, 8 Oct 2015 10:55:51 -0700 Message-ID: <5616AE27.6060108@plumgrid.com> References: <1444281803-24274-1-git-send-email-ast@plumgrid.com> <1444281803-24274-4-git-send-email-ast@plumgrid.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Kees Cook Cc: "David S. Miller" , Andy Lutomirski , Ingo Molnar , Hannes Frederic Sowa , Eric Dumazet , Daniel Borkmann , Linux API , Network Development , LKML List-Id: linux-api@vger.kernel.org On 10/8/15 10:46 AM, Kees Cook wrote: >> samples/bpf/libbpf.h | 8 + >> > samples/bpf/test_verifier.c | 357 +++++++++++++++++++++++++++++++++++++++++-- > Instead of living in samples/ could these be moved and hooked up to > tools/testing/selftests/ instead? as a follow up patch. yes. of course. along with test_maps. Fengguang's todo already includes adding test_bpf.ko to 0-day buildbot.