angler-fishThe Vulnerability History Project

bpf: Add PTR_TO_SOCKET verifier type

      Teach the verifier a little bit about a new type of pointer, a
PTR_TO_SOCKET. This pointer type is accessed from BPF through the
'struct bpf_sock' structure.

Signed-off-by: Joe Stringer <joe@wand.net.nz>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
    
commit c64b7983288e636356f7f5f652de4813e1cfedac
+34
+2
+106 -14
+18 -12
expand_less