[PATCH] arm64: compat: fix compat types affecting struct compat_elf_prpsinfo

Catalin Marinas catalin.marinas at arm.com
Wed Oct 15 07:50:20 PDT 2014


On Wed, Oct 15, 2014 at 07:11:36AM +0100, Victor Kamensky wrote:
> The compat_elf_prpsinfo structure does not match the arch/arm struct
> elf_pspsinfo definition. As result NT_PRPSINFO note in core file
> created by arm64 kernel for aarch32 (compat) process has wrong size.
> So gdb cannot display command that caused process crash.
> 
> Fix is to change size of __compat_uid_t, __compat_gid_t so it would
> match size of similar fields in arch/arm case.
> 
> Signed-off-by: Victor Kamensky <victor.kamensky at linaro.org>
> Acked-by: Arnd Bergmann <arnd at arndb.de>
> Cc: stable at vger.kernel.org

Applied, thanks (it will go in after -rc1).

-- 
Catalin



More information about the linux-arm-kernel mailing list