diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2019-10-25 19:57:12 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-11-08 12:10:42 +0100 |
commit | 6c2aa4284513585e9cc0c25b125ab4d57ef4ce76 (patch) | |
tree | 6b1dfe2fe94b6056691598a53677557f06feb91b /tools/testing/selftests/arm64/signal/Makefile | |
parent | kselftest: arm64: add helper get_current_context (diff) | |
download | linux-6c2aa4284513585e9cc0c25b125ab4d57ef4ce76.tar.xz linux-6c2aa4284513585e9cc0c25b125ab4d57ef4ce76.zip |
kselftest: arm64: fake_sigreturn_bad_magic
Add a simple fake_sigreturn testcase which builds a ucontext_t with a bad
magic header and place it onto the stack. Expects a SIGSEGV on test PASS.
Introduce a common utility assembly trampoline function to invoke a
sigreturn while placing the provided sigframe at wanted alignment and
also an helper to make space when needed inside the sigframe reserved
area.
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing/selftests/arm64/signal/Makefile')
-rw-r--r-- | tools/testing/selftests/arm64/signal/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/signal/Makefile b/tools/testing/selftests/arm64/signal/Makefile index f78f5190e3d4..b497cfea4643 100644 --- a/tools/testing/selftests/arm64/signal/Makefile +++ b/tools/testing/selftests/arm64/signal/Makefile @@ -28,5 +28,5 @@ clean: # Common test-unit targets to build common-layout test-cases executables # Needs secondary expansion to properly include the testcase c-file in pre-reqs .SECONDEXPANSION: -$(PROGS): test_signals.c test_signals_utils.c testcases/testcases.c $$@.c test_signals.h test_signals_utils.h testcases/testcases.h +$(PROGS): test_signals.c test_signals_utils.c testcases/testcases.c signals.S $$@.c test_signals.h test_signals_utils.h testcases/testcases.h $(CC) $(CFLAGS) $^ -o $@ |