Re: [PATCH net] bpf: split eBPF out of NET

2014-10-27 Thread Alexei Starovoitov
On Mon, Oct 27, 2014 at 4:10 PM, David Miller wrote: > From: Alexei Starovoitov > Date: Thu, 23 Oct 2014 18:41:08 -0700 > >> introduce two configs: >> - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters >> depend on >> - visible CONFIG_BPF_SYSCALL (default off) that traci

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-27 Thread David Miller
From: Alexei Starovoitov Date: Thu, 23 Oct 2014 18:41:08 -0700 > introduce two configs: > - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters > depend on > - visible CONFIG_BPF_SYSCALL (default off) that tracing and sockets can use > > that solves several problems: > - t

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-24 Thread Daniel Borkmann
On 10/24/2014 10:11 AM, Josh Triplett wrote: On Thu, Oct 23, 2014 at 10:32:50PM -0700, Alexei Starovoitov wrote: On Thu, Oct 23, 2014 at 8:23 PM, Josh Triplett wrote: On Thu, Oct 23, 2014 at 06:41:08PM -0700, Alexei Starovoitov wrote: introduce two configs: - hidden CONFIG_BPF to select eBPF

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-24 Thread Geert Uytterhoeven
On Fri, Oct 24, 2014 at 10:11 AM, Josh Triplett wrote: >> >> +config BPF_SYSCALL >> >> + bool "Enable bpf() system call" if EXPERT >> >> + select ANON_INODES >> >> + select BPF >> >> + default n >> >> + help >> >> + Enable the bpf() system call that allows to manipulate e

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-24 Thread Josh Triplett
On Thu, Oct 23, 2014 at 10:32:50PM -0700, Alexei Starovoitov wrote: > On Thu, Oct 23, 2014 at 8:23 PM, Josh Triplett wrote: > > On Thu, Oct 23, 2014 at 06:41:08PM -0700, Alexei Starovoitov wrote: > >> introduce two configs: > >> - hidden CONFIG_BPF to select eBPF interpreter that classic socket fi

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-23 Thread Alexei Starovoitov
On Thu, Oct 23, 2014 at 8:23 PM, Josh Triplett wrote: > On Thu, Oct 23, 2014 at 06:41:08PM -0700, Alexei Starovoitov wrote: >> introduce two configs: >> - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters >> depend on >> - visible CONFIG_BPF_SYSCALL (default off) that trac

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-23 Thread Josh Triplett
On Thu, Oct 23, 2014 at 06:41:08PM -0700, Alexei Starovoitov wrote: > introduce two configs: > - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters > depend on > - visible CONFIG_BPF_SYSCALL (default off) that tracing and sockets can use > > that solves several problems: >

[PATCH net] bpf: split eBPF out of NET

2014-10-23 Thread Alexei Starovoitov
introduce two configs: - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters depend on - visible CONFIG_BPF_SYSCALL (default off) that tracing and sockets can use that solves several problems: - tracing and others that wish to use eBPF don't need to depend on NET. They can