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 <keescook@chromium.org>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>

Bug: 28020023
Patchset: seccomp

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