linux/tools/testing
Neill Kapron 797002deed selftests/seccomp: fix syscall_restart test for arm compat
The inconsistencies in the systcall ABI between arm and arm-compat can
can cause a failure in the syscall_restart test due to the logic
attempting to work around the differences. The 'machine' field for an
ARM64 device running in compat mode can report 'armv8l' or 'armv8b'
which matches with the string 'arm' when only examining the first three
characters of the string.

This change adds additional validation to the workaround logic to make
sure we only take the arm path when running natively, not in arm-compat.

Fixes: 256d0afb11 ("selftests/seccomp: build and pass on arm64")
Signed-off-by: Neill Kapron <nkapron@google.com>
Link: https://lore.kernel.org/r/20250427094103.3488304-2-nkapron@google.com
Signed-off-by: Kees Cook <kees@kernel.org>
2025-04-30 14:21:03 -07:00
..
crypto/chacha20-s390 crypto: lib/chacha - remove unused arch-specific init support 2025-03-21 17:39:06 +08:00
cxl cxl for v6.15 2025-04-02 20:04:43 -07:00
fault-injection
ktest ktest: Fix Test Failures Due to Missing LOG_FILE Directories 2025-03-27 09:34:00 -04:00
kunit kunit: tool: fix count of tests if late test plan 2025-04-08 14:57:24 -06:00
memblock memblock tests: Fix mutex related build error 2025-04-07 09:28:01 +03:00
nvdimm
radix-tree xarray: add xas_try_split() to split a multi-index entry 2025-03-17 22:06:59 -07:00
rbtree lib/interval_tree: add test case for span iteration 2025-03-17 12:17:01 -07:00
scatterlist
selftests selftests/seccomp: fix syscall_restart test for arm compat 2025-04-30 14:21:03 -07:00
shared lib/rbtree: enable userland test suite for rbtree related data structure 2025-03-17 12:17:00 -07:00
vma mm: make vma cache SLAB_TYPESAFE_BY_RCU 2025-03-16 22:06:21 -07:00
vsock