Re: [PATCH v9 16/16] selftests: sud_test: Support aarch64
From: kemal
Date: Sat Dec 20 2025 - 10:02:39 EST
You should also make sure TEST_BLOCKED_RETURN is defined in
sud_benchmark.c:
/*
* To test returning from a sigsys with selector blocked, the test
* requires some per-architecture support (i.e. knowledge about the
* signal trampoline address). On i386, we know it is on the vdso, and
* a small trampoline is open-coded for x86_64. Other architectures
* that have a trampoline in the vdso will support TEST_BLOCKED_RETURN
* out of the box, but don't enable them until they support syscall user
* dispatch.
*/
#if defined(__x86_64__) || defined(__i386__) || defined(__aarch64__)
#define TEST_BLOCKED_RETURN
#endif