From: Will Deacon Date: Tue, 22 Jan 2013 15:34:40 +0000 (+0000) Subject: arm64: elf: fix core dumping to match what glibc expects X-Git-Tag: v3.8-rc5~15^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf2b72b25f3f6a5a1a46a4f36037e66de52465c;p=pandora-kernel.git 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: Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed