Skip to content
Commit a2618c0d authored by Jordan Rife's avatar Jordan Rife Committed by Alexei Starovoitov
Browse files

selftests/bpf: Handle SYSCALL_EPERM and SYSCALL_ENOTSUPP test cases



In preparation to move test cases from bpf/test_sock_addr.c that expect
system calls to return ENOTSUPP or EPERM, this patch propagates errno
from relevant system calls up to test_sock_addr() where the result can
be checked.

Signed-off-by: default avatarJordan Rife <jrife@google.com>
Link: https://lore.kernel.org/r/20240510190246.3247730-6-jrife@google.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 5a047b22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment