Re: [PATCH net-next] bpf: disallow bpf tc programs access current->pid,uid

2015-06-15 Thread David Miller
From: Alexei Starovoitov Date: Mon, 15 Jun 2015 20:49:24 -0700 > Accessing current->pid/uid from cls_bpf may lead to misleading results and > should not be used when TC classifiers need accurate information about > pid/uid. > > Signed-off-by: Alexei Starovoitov Applied, thanks. -- To unsubscr

[PATCH net-next] bpf: disallow bpf tc programs access current->pid,uid

2015-06-15 Thread Alexei Starovoitov
Accessing current->pid/uid from cls_bpf may lead to misleading results and should not be used when TC classifiers need accurate information about pid/uid. Signed-off-by: Alexei Starovoitov --- net/core/filter.c |6 -- 1 file changed, 6 deletions(-) diff --git a/net/core/filter.c b/net/c