summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
authorMartin KaFai Lau2019-03-12 18:23:09 +0100
committerAlexei Starovoitov2019-03-13 20:04:35 +0100
commitb55aa7b04bb42274b4a894020b5b2fa059c3527e (patch)
tree32f0c9d89a04f571a0ee340c4d20c262a6201986 /ipc/util.c
parentbpf: Sync bpf.h to tools/ (diff)
downloadkernel-qcow2-linux-b55aa7b04bb42274b4a894020b5b2fa059c3527e.tar.gz
kernel-qcow2-linux-b55aa7b04bb42274b4a894020b5b2fa059c3527e.tar.xz
kernel-qcow2-linux-b55aa7b04bb42274b4a894020b5b2fa059c3527e.zip
bpf: Test ref release issue in bpf_tcp_sock and bpf_sk_fullsock
Adding verifier tests to ensure the ptr returned from bpf_tcp_sock() and bpf_sk_fullsock() cannot be accessed after bpf_sk_release() is called. A few of the tests are derived from a reproducer test by Lorenz Bauer. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions