diff options
author | 2023-05-11 10:04:54 -0700 | |
---|---|---|
committer | 2023-05-13 16:55:44 -0700 | |
commit | 989a4a7dbff21399da42e808a4ae134023546f41 (patch) | |
tree | ee524876254cd95189488591dcbd2789929e3523 /kernel/bpf/log.c | |
parent | bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen (diff) | |
download | wireguard-linux-989a4a7dbff21399da42e808a4ae134023546f41.tar.xz wireguard-linux-989a4a7dbff21399da42e808a4ae134023546f41.zip |
selftests/bpf: Update EFAULT {g,s}etsockopt selftests
Instead of assuming EFAULT, let's assume the BPF program's
output is ignored.
Remove "getsockopt: deny arbitrary ctx->retval" because it
was actually testing optlen. We have separate set of tests
for retval.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20230511170456.1759459-3-sdf@google.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'kernel/bpf/log.c')
0 files changed, 0 insertions, 0 deletions