mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RESEND 0/3] selftests: Skip SUD tests when unsupported
@ 2026-10-13  9:08 Christian Loehle
  2026-10-13  9:08 ` [PATCH RESEND 1/3] selftests/ptrace: Skip get_set_sud if SUD is unsupported Christian Loehle
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Loehle @ 2026-10-13  9:08 UTC (permalink / raw)
  To: linux-kernel, skhan, Shuah Khan, linux-kselftest
  Cc: Christian Loehle, Rama Krishna Katta, Thomas Gleixner,
	Gregory Price, Kees Cook, Peter Zijlstra, Andy Lutomirski,
	Gabriel Krisman Bertazi

Hi Shuah,
the series is a resend which has picked up all the relevant tags
and is ready to apply!
--

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.

Original posting:
https://lore.kernel.org/lkml/cover.1786965107.git.christian.loehle@arm.com/

Christian Loehle (3):
  selftests/ptrace: Skip get_set_sud if SUD is unsupported
  selftests/syscall_user_dispatch: Skip tests if SUD is unsupported
  selftests/syscall_user_dispatch: Skip benchmark if SUD is unsupported

 tools/testing/selftests/ptrace/get_set_sud.c  |  8 +++++
 .../syscall_user_dispatch/sud_benchmark.c     |  9 +++++
 .../syscall_user_dispatch/sud_test.c          | 36 +++++++++++++++++++
 3 files changed, 53 insertions(+)


base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-13  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13  9:08 [PATCH RESEND 0/3] selftests: Skip SUD tests when unsupported Christian Loehle
2026-10-13  9:08 ` [PATCH RESEND 1/3] selftests/ptrace: Skip get_set_sud if SUD is unsupported Christian Loehle
2026-10-13  9:08 ` [PATCH RESEND 2/3] selftests/syscall_user_dispatch: Skip tests " Christian Loehle
2026-10-13  9:08 ` [PATCH RESEND 3/3] selftests/syscall_user_dispatch: Skip benchmark " Christian Loehle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®