bpf samples: update tracex5 sample to use __seccomp_filter
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 23 Sep 2016 20:40:05 +0000 (02:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2016 07:48:58 +0000 (03:48 -0400)
commit973d94d8a87c32661f1308a118074972ac5d483a
tree594eeceac135ae0914ac7f6995bf60cbe008ffa4
parent2b064fff8527a1052c7060c65c22cae80a9343b9
bpf samples: update tracex5 sample to use __seccomp_filter

seccomp_phase1() does not exist anymore. Instead, update sample to use
__seccomp_filter(). While at it, set max locked memory to unlimited.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/tracex5_kern.c
samples/bpf/tracex5_user.c