diff options
author | Jordan Rife <jrife@google.com> | 2024-05-10 22:02:18 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-05-13 03:10:40 +0300 |
commit | 73964e9085bbea517a675d5d8ceeb1e609a34748 (patch) | |
tree | 4e1246b3751bee60f2020a3ca71dec5c7c2e12d8 /kernel/module/sysfs.c | |
parent | 20a759df3bba35bf5c3ddec0c02ad69b603b584c (diff) | |
download | linux-73964e9085bbea517a675d5d8ceeb1e609a34748.tar.xz |
selftests/bpf: Migrate recvmsg* return code tests to verifier_sock_addr.c
This set of tests check that the BPF verifier rejects programs with
invalid return codes (recvmsg4 and recvmsg6 hooks can only return 1).
This patch replaces the tests in test_sock_addr.c with
verifier_sock_addr.c, a new verifier prog_tests for sockaddr hooks, in a
step towards fully retiring test_sock_addr.c.
Signed-off-by: Jordan Rife <jrife@google.com>
Link: https://lore.kernel.org/r/20240510190246.3247730-2-jrife@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/module/sysfs.c')
0 files changed, 0 insertions, 0 deletions