BACKPORT: arm64: add SIGSYS siginfo for compat task

SIGSYS is primarily used in secure computing to notify tracer of syscall
events. This patch allows signal handler on compat task to get correct
information with SA_SIGINFO specified when this signal is delivered.

Reviewed-by: Kees Cook <>
Signed-off-by: AKASHI Takahiro <>
Signed-off-by: Will Deacon <>

Bug: 28020023
Patchset: seccomp

(cherry picked from kernel/msm commit 369529f9c3401b6172c8c784fae089c7752d613e)
Signed-off-by: Kees Cook <>
Change-Id: I0eed2aee35bc4fe22170c53528b95d6d163156b2
2 files changed