Re: [PATCH 0/3] selftests: Skip SUD tests when unsupported
From: Gabriel Krisman Bertazi
Date: Fri Sep 04 2026 - 15:26:42 EST
Christian Loehle <christian.loehle@xxxxxxx> writes:
> Syscall User Dispatch (SUD) is unavailable on architectures without
> generic syscall entry. Such architectures return -EINVAL for otherwise
> valid SUD prctl and ptrace requests, which the SUD selftests currently
> report as failures.
>
> Probe SUD with a valid disabled configuration and skip the affected tests
> when that probe returns EINVAL. Unexpected errors remain failures, and the
> existing coverage is unchanged on kernels that support SUD.
Reviewed-by: Gabriel Krisman Bertazi <krisman@xxxxxxx>
--
Gabriel Krisman Bertazi