filter: do not output bpf image address for security reason
authorEric Dumazet <edumazet@google.com>
Fri, 17 May 2013 16:57:37 +0000 (16:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 06:56:41 +0000 (23:56 -0700)
commit164954454a4b1000eb022415654001cceb9259a7
tree3160f99d7714bd5dbff453bcec1b2d1d8987bf97
parent314beb9bcabfd6b4542ccbced2402af2c6f6142a
filter: do not output bpf image address for security reason

Do not leak starting address of BPF JIT code for non root users,
as it might help intruders to perform an attack.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Cc: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h