diff options
author | Yauheni Kaliuta <[email protected]> | 2021-04-08 09:13:03 +0300 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-04-08 23:54:47 -0700 |
commit | cad99cce133dd5377f22da1e75d7eb5c4b886d75 (patch) | |
tree | 2f20219f033b40ba6455b5d4748bcee02c805b9c /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ff182bc572cec4ca757775bf2a33a3ce8611227a (diff) |
selftests/bpf: test_progs/sockopt_sk: Convert to use BPF skeleton
Switch the test to use BPF skeleton to save some boilerplate and
make it easy to access bpf program bss segment.
The latter will be used to pass PAGE_SIZE from userspace since there
is no convenient way for bpf program to get it from inside of the
kernel.
Signed-off-by: Yauheni Kaliuta <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions