Thread (6 messages) read the whole thread 6 messages, 3 authors, 2025-12-10

Re: [PATCH bpf-next v2 2/2] selftests/bpf: add tests for attaching invalid fd

From: Toke Høiland-Jørgensen <hidden>
Date: 2025-12-08 14:20:49
Also in: bpf, linux-kselftest

Kohei Enju [off-list ref] writes:
Add test cases for situations where adding the following types of file
descriptors to a cpumap entry should fail:
- Non-BPF file descriptor (expect -EINVAL)
- Nonexistent file descriptor (expect -EBADF)

Also tighten the assertion for the expected error when adding a
non-BPF_XDP_CPUMAP program to a cpumap entry.

Signed-off-by: Kohei Enju <redacted>
Reviewed-by: Toke Høiland-Jørgensen <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help