Re: [PATCH v3 bpf-next 0/3] bpf: add bpf_progenyof helper

2019-03-22 Thread Javier Honduvilla Coto
On Thu, Mar 07, 2019 at 10:26:22AM +0100, Daniel Borkmann wrote: > On 03/05/2019 11:47 PM, Javier Honduvilla Coto wrote: > > Hi all, > > > > This patch add the bpf_progenyof helper which receives a PID and returns > > 1 if the process currently being executed is in the process hierarchy, > > includ

Re: [PATCH v3 bpf-next 0/3] bpf: add bpf_progenyof helper

2019-03-07 Thread Daniel Borkmann
On 03/05/2019 11:47 PM, Javier Honduvilla Coto wrote: > Hi all, > > This patch add the bpf_progenyof helper which receives a PID and returns > 1 if the process currently being executed is in the process hierarchy, > including itself or 0 if not. > > This is very useful in tracing programs when we

[PATCH v3 bpf-next 0/3] bpf: add bpf_progenyof helper

2019-03-05 Thread Javier Honduvilla Coto
Hi all, This patch add the bpf_progenyof helper which receives a PID and returns 1 if the process currently being executed is in the process hierarchy, including itself or 0 if not. This is very useful in tracing programs when we want to filter by a given PID and all the children it might have. T