selftests/bpf: Add missing section name tests for getpeername/getsockname
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 11 Oct 2023 18:51:03 +0000 (20:51 +0200)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 11 Oct 2023 20:24:18 +0000 (13:24 -0700)
commitfeba7b634ef0d003184d6988d96c34ab3c50de59
tree0aae61b9cfc2b5555d753a337e1ad3fe5eda0527
parent1ef09e1281a1add0a86ecd594f748d7fb8bfd78e
selftests/bpf: Add missing section name tests for getpeername/getsockname

These were missed when these hooks were first added so add them now
instead to make sure every sockaddr hook has a matching section name
test.

Signed-off-by: Daan De Meyer <daan.j.demeyer@gmail.com>
Link: https://lore.kernel.org/r/20231011185113.140426-2-daan.j.demeyer@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
tools/testing/selftests/bpf/prog_tests/section_names.c