Re: [RFC PATCH net-next 0/6] seccomp filter JIT

From: Heiko Carstens
Date: Fri Apr 26 2013 - 07:46:34 EST


On Fri, Apr 26, 2013 at 01:25:39PM +0200, Heiko Carstens wrote:
> 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.

Right... just right the subject of each patch description says, they apply
against net-next.

And build fine on s390.

> Btw. are there any test cases around for BPF JIT?
> Not only for the new seccomp but also netfilter?

This however is still a valid question.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/