Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753828AbaFBRF2 (ORCPT ); Mon, 2 Jun 2014 13:05:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57954 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753293AbaFBRF1 (ORCPT ); Mon, 2 Jun 2014 13:05:27 -0400 Message-ID: <538CAEA6.4060307@redhat.com> Date: Mon, 02 Jun 2014 19:04:38 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Alexei Starovoitov CC: "David S. Miller" , Ingo Molnar , Steven Rostedt , Chema Gonzalez , Eric Dumazet , Peter Zijlstra , Arnaldo Carvalho de Melo , Jiri Olsa , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , Kees Cook , Network Development , LKML Subject: Re: [PATCH v2 net-next 0/2] split BPF out of core networking References: <1401692506-7796-1-git-send-email-ast@plumgrid.com> <538C3C94.3080206@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/02/2014 05:41 PM, Alexei Starovoitov wrote: ... > Glad you brought up this point :) > 100% agree that current double verification done by seccomp is far from > being generic and quite hard to maintain, since any change done to > classic BPF verifier needs to be thought through from seccomp_check_filter() > perspective as well. Glad we're on the same page. > BPF's input context, set of allowed calls need to be expressed in a generic way. > Obviously this split by itself won't make classic BPF all of a sudden generic. > It rather defines a boundary of eBPF core. Note, I'm not at all against using it in tracing, I think it's probably a good idea, but shouldn't we _first_ think about how to overcome such deficits as above by improving upon its in-kernel API design, thus to better prepare it to be generic? I feel this step is otherwise just skipped and quickly 'hacked' around ... ;) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/