diff options
author | Yury Norov <ynorov@caviumnetworks.com> | 2017-01-05 16:14:48 +0530 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2018-04-03 10:52:45 +0200 |
commit | 95d19f6dd61ded44572a39d343a429bca5ce157e (patch) | |
tree | fd9d834d9cb87e63c5919ab78b9acdb06b238805 /arch/arm64/kernel/asm-offsets.c | |
parent | cb9d1cc0d8fad13070871506a790cadd2043acb2 (diff) |
arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32
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 <bamvor.zhangjian@linaro.org>
Signed-off-by: Chengming Zhou <zhouchengming1@huawei.com>
Diffstat (limited to 'arch/arm64/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions