arm64: ilp32: introduce ilp32-specific sigframe and ucontext
hulk inclusion category: feature bugzilla: NA CVE: NA --------------------------- ILP32 uses AARCH32 compat structures and syscall handlers for signals. But ILP32 rt_sigframe and ucontext structures differ from both LP64 and AARCH32. >From software point of view ILP32 is typical 32-bit compat ABI, and from hardware point of view, it's just like LP64. struct rt_sigframe defined in this patch in arch/arm64/kernel/signal_ilp32.c redefines one in arch/arm64/kernel/signal.c. And functions located in arch/arm64/include/signal_common.h pick up new structure to generate the code suitable for ILP32. Signed-off-by: NYury Norov <ynorov@caviumnetworks.com> Conflicts: arch/arm64/kernel/signal.c [wangxiongfeng: fix small conflict because of we include 'asm/ras.h' in arch/arm64/kernel/signal.c ] Signed-off-by: NXiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com <mailto:guohanjun@huawei.com>> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
arch/arm64/kernel/signal_ilp32.c
0 → 100644
想要评论请 注册 或 登录