From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: Re: [PATCH v2 2/2] Documentation: prctl/seccomp_filter Date: Thu, 12 Jan 2012 10:16:46 -0800 Message-ID: <4F0F238E.7020508@xenotime.net> References: <1326323983-23630-1-git-send-email-wad@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, keescook@chromium.org, john.johansen@canonical.com, serge.hallyn@canonical.com, coreyb@linux.vnet.ibm.com, pmoore@redhat.com, eparis@redhat.com, djm@mindrot.org, torvalds@linux-foundation.org, segoon@openwall.com, rostedt@goodmis.org, jmorris@namei.org, scarybeasts@gmail.com, avi@redhat.com, penberg@cs.helsinki.fi, viro@zeniv.linux.org.uk, luto@mit.edu, mingo@elte.hu, akpm@linux-foundation.org, khilman@ti.com, borislav.petkov@amd.com, amwang@redhat.com, oleg@redhat.com, ak@linux.intel.com, eric.dumazet@gmail.com, gregkh@suse.de, dhowells@redhat.com, daniel.lezcano@free.fr, linux-fsdevel@vger.kernel.org, linux-security-module@vger.kernel.org, olofj@chromium.org, mhalcrow@google.com, dlaor@redhat.com, corbet@lwn.net To: Will Drewry Return-path: In-Reply-To: <1326323983-23630-1-git-send-email-wad@chromium.org> Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 01/11/2012 03:19 PM, Will Drewry wrote: > Document how system call filtering with BPF works and > may be used. Includes an example for x86 (32-bit). Please tell some of us what "BPF" means. wikipedia lists 15 possible choices, but I don't know which one to choose. > Signed-off-by: Will Drewry > --- > Documentation/prctl/seccomp_filter.txt | 99 ++++++++++++++++++++++++++++++++ > samples/Makefile | 2 +- > samples/seccomp/Makefile | 12 ++++ > samples/seccomp/bpf-example.c | 74 ++++++++++++++++++++++++ > 4 files changed, 186 insertions(+), 1 deletions(-) > create mode 100644 Documentation/prctl/seccomp_filter.txt > create mode 100644 samples/seccomp/Makefile > create mode 100644 samples/seccomp/bpf-example.c -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***