The patch titled elf-coredump-replace-elf_core_extra_-macros-by-functions-fix-2 has been added to the -mm tree. Its filename is elf-coredump-replace-elf_core_extra_-macros-by-functions-fix-2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: elf-coredump-replace-elf_core_extra_-macros-by-functions-fix-2 From: Daisuke HATAYAMA <d.hatayama@xxxxxxxxxxxxxx> compat_binfmt_elf.c: Use 32-bit section header, not 64-bit one I found that the previous fix patch of mine was insufficient for fixing the problem relevant to EL32. It was necessary that one should use the 32-bit datatype for section headers instead of the 64-bit one. Here is a patch complementing it. I made a runtime test for this fix patch, confirming that the functionality works well. Signed-off-by: Daisuke HATAYAMA <d.hatayama@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/compat_binfmt_elf.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN fs/compat_binfmt_elf.c~elf-coredump-replace-elf_core_extra_-macros-by-functions-fix-2 fs/compat_binfmt_elf.c --- a/fs/compat_binfmt_elf.c~elf-coredump-replace-elf_core_extra_-macros-by-functions-fix-2 +++ a/fs/compat_binfmt_elf.c @@ -28,10 +28,12 @@ #undef elfhdr #undef elf_phdr +#undef elf_shdr #undef elf_note #undef elf_addr_t #define elfhdr elf32_hdr #define elf_phdr elf32_phdr +#define elf_shdr elf32_shdr #define elf_note elf32_note #define elf_addr_t Elf32_Addr _ Patches currently in -mm which might be from d.hatayama@xxxxxxxxxxxxxx are coredump-unify-dump_seek-implementations-for-each-binfmt_c.patch coredump-move-dump_write-and-dump_seek-into-a-header-file.patch elf-coredump-replace-elf_core_extra_-macros-by-functions.patch elf-coredump-replace-elf_core_extra_-macros-by-functions-fix.patch elf-coredump-replace-elf_core_extra_-macros-by-functions-fix-2.patch elf-coredump-make-offset-calculation-process-and-writing-process-explicit.patch elf-coredump-add-extended-numbering-support.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html