Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753970Ab3DZL0r (ORCPT ); Fri, 26 Apr 2013 07:26:47 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:59826 "EHLO e06smtp10.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753246Ab3DZL0p (ORCPT ); Fri, 26 Apr 2013 07:26:45 -0400 Date: Fri, 26 Apr 2013 13:25:39 +0200 From: Heiko Carstens To: Xi Wang Cc: Daniel Borkmann , "David S. Miller" , Russell King , Eric Dumazet , Will Drewry , Andrew Morton , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH net-next 0/6] seccomp filter JIT Message-ID: <20130426112539.GA3736@osiris> References: <1366962706-24204-1-git-send-email-xi.wang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1366962706-24204-1-git-send-email-xi.wang@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13042611-4966-0000-0000-000005939FCF Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1180 Lines: 32 On Fri, Apr 26, 2013 at 03:51:40AM -0400, Xi Wang wrote: > This patchset brings JIT support to seccomp filters for x86_64 and ARM. > It is against the net-next tree. > > The current BPF JIT interface only accepts sk_filter, not seccomp_filter. > Patch 1/6 refactors the interface to make it more general. > > With the refactored interface, patches 2/6 and 3/6 implement the seccomp > BPF_S_ANC_SECCOMP_LD_W instruction in x86 & ARM JIT. > > Status: > > * x86_64 & ARM: JIT tested with seccomp examples. > > * powerpc [4/6]: no seccomp change - compile checked. > > * sparc [5/6] & s390 [6/6]: no seccomp change - untested. > > Sorry I have no sparc or s390 build environment here. Can someone help > check 5/6 and 6/6? Thanks. Your patches are against which tree? They don't apply on top of linux-next or Linus' linux tree. Btw. are there any test cases around for BPF JIT? Not only for the new seccomp but also netfilter? -- 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/