aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Deacon2013-01-22 09:34:40 -0600
committerCatalin Marinas2013-01-22 11:50:59 -0600
commit9cf2b72b25f3f6a5a1a46a4f36037e66de52465c (patch)
treed4e62f892cb3097767bd5e58744b920884443b7a /tools/perf/Makefile
parent7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff)
downloadkernel-omap-9cf2b72b25f3f6a5a1a46a4f36037e66de52465c.tar.gz
kernel-omap-9cf2b72b25f3f6a5a1a46a4f36037e66de52465c.tar.xz
kernel-omap-9cf2b72b25f3f6a5a1a46a4f36037e66de52465c.zip
arm64: elf: fix core dumping to match what glibc expects
The kernel's internal definition of ELF_NGREG uses struct pt_regs, which means that we disagree with userspace on the size of coredumps since glibc correctly uses the user-visible struct user_pt_regs. This patch fixes our ELF_NGREG definition to use struct user_pt_regs and introduces our own ELF_CORE_COPY_REGS to convert between the user and kernel structure definitions. Cc: <stable@vger.kernel.org> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/Makefile')
0 files changed, 0 insertions, 0 deletions