aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2021-07-15 00:54:15 +0000
committerDaniel Borkmann <[email protected]>2021-07-15 20:31:10 +0000
commit7ddc80a476c2d599246028af5808d15f9e24c109 (patch)
tree18cf3ae170f0b9292698f94128dd44afd57de356 /net/unix/af_unix.c
parentbpf: Implement verifier support for validation of async callbacks. (diff)
downloadkernel-7ddc80a476c2d599246028af5808d15f9e24c109.tar.gz
kernel-7ddc80a476c2d599246028af5808d15f9e24c109.zip
bpf: Teach stack depth check about async callbacks.
Teach max stack depth checking algorithm about async callbacks that don't increase bpf program stack size. Also add sanity check that bpf_tail_call didn't sneak into async cb. It's impossible, since PTR_TO_CTX is not available in async cb, hence the program cannot contain bpf_tail_call(ctx,...); Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions