summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky@linaro.org>2014-06-03 19:21:30 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2014-06-18 12:41:14 +0100
commit2227901a0230d8fde81ba9c602d649839390f56b (patch)
treeb3a575cf0a62157c36e3dbbdf7449a5a3ba4cb35 /Kbuild
parent34c65c43f1518bf85f93526ad373adc6a683b4c5 (diff)
downloadop-kernel-dev-2227901a0230d8fde81ba9c602d649839390f56b.zip
op-kernel-dev-2227901a0230d8fde81ba9c602d649839390f56b.tar.gz
arm64: ptrace: fix empty registers set in prstatus of aarch32 process core
Currently core file of aarch32 process prstatus note has empty registers set. As result aarch32 core files create by V8 kernel are not very useful. It happens because compat_gpr_get and compat_gpr_set functions can copy registers values to/from either kbuf or ubuf. ELF core file collection function fill_thread_core_info calls compat_gpr_get with kbuf set and ubuf set to 0. But current compat_gpr_get and compat_gpr_set function handle copy to/from only ubuf case. Fix is to handle kbuf and ubuf as two separate cases in similar way as other functions like user_regset_copyout, user_regset_copyin do. Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Cc: stable@vger.kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud