diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-11-14 10:57:20 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-15 23:46:09 +0100 |
commit | d6f39601ec5e708fb666a2ad437c7bef4cfab39b (patch) | |
tree | f22e546f59369fa17873ef1ec30cc40399460de7 /kernel/bpf/syscall.c | |
parent | 4c0963243c5f56bffe8eaba6acc5b076d51797f4 (diff) |
selftests/bpf: Add a test for attaching BPF prog to another BPF prog and subprog
Add a test that attaches one FEXIT program to main sched_cls networking program
and two other FEXIT programs to subprograms. All three tracing programs
access return values and skb->len of networking program and subprograms.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191114185720.1641606-21-ast@kernel.org
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions