Commit 5a68b5bf authored by Yury Norov's avatar Yury Norov Committed by Chen Jiahao
Browse files

arm64: signal32: move ilp32 and aarch32 common code to separated file

maillist inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7WGZU
CVE: NA

Reference: https://github.com/norov/linux/commits/ilp32-5.2



--------------------------------

ILP32 needs to mix 32bit struct siginfo and 64bit sigframe for its signal
handlers. Move the existing compat code for copying siginfo to user space
and manipulating signal masks into signal32_common.c so it can be used to
deliver aarch32 and ilp32 signals.

Signed-off-by: default avatarYury Norov <ynorov@caviumnetworks.com>
Signed-off-by: default avatarYury Norov <ynorov@marvell.com>
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>

Conflicts:
	arch/arm64/kernel/Makefile
	arch/arm64/kernel/signal32.c

Signed-off-by: default avatarChen Jiahao <chenjiahao16@huawei.com>
parent 26928568
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment