diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2019-10-25 20:57:12 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-11-08 14:10:42 +0300 |
commit | 6c2aa4284513585e9cc0c25b125ab4d57ef4ce76 (patch) | |
tree | 6b1dfe2fe94b6056691598a53677557f06feb91b /ipc/syscall.c | |
parent | 34306b05d3106447c87d29d262e824ca4a30c569 (diff) | |
download | linux-6c2aa4284513585e9cc0c25b125ab4d57ef4ce76.tar.xz |
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 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions