arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32
maillist inclusion category: feature bugzilla: 46790 CVE: NA Reference: https://github.com/norov/linux/commits/ilp32-5.2 -------------------------------- ILP32 has context-related structures different from both aarch32 and aarch64/lp64. In this patch compat_arch_ptrace() renamed to compat_a32_ptrace(), and compat_arch_ptrace() only makes choice between compat_a32_ptrace() and new compat_ilp32_ptrace() handler. compat_ilp32_ptrace() calls generic compat_ptrace_request() for all requests except PTRACE_GETSIGMASK and PTRACE_SETSIGMASK, which need special handling. Signed-off-by:Yury Norov <ynorov@caviumnetworks.com> Signed-off-by:
Bamvor Jian Zhang <bamv2005@gmail.com> Signed-off-by:
Yury Norov <ynorov@marvell.com> Signed-off-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Chen Jun <chenjun102@huawei.com>
Loading
Please sign in to comment