The patch titled Subject: proc-report-eip-and-esp-for-all-threads-when-coredumping-fix has been added to the -mm tree. Its filename is proc-report-eip-and-esp-for-all-threads-when-coredumping-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/proc-report-eip-and-esp-for-all-threads-when-coredumping-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/proc-report-eip-and-esp-for-all-threads-when-coredumping-fix.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/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: proc-report-eip-and-esp-for-all-threads-when-coredumping-fix cleanup, per Alexey Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Andy Lutomirski <luto@xxxxxxxxxx> Cc: Jan Luebbe <jlu@xxxxxxxxxxxxxx> Cc: John Ogness <john.ogness@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/array.c~proc-report-eip-and-esp-for-all-threads-when-coredumping-fix +++ a/fs/proc/array.c @@ -462,7 +462,7 @@ static int do_task_stat(struct seq_file * a program is not able to use ptrace(2) in that case. It is * safe because the task has stopped executing permanently. */ - if (permitted && (!!mm->core_state)) { + if (permitted && mm->core_state) { if (try_get_task_stack(task)) { eip = KSTK_EIP(task); esp = KSTK_ESP(task); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-vmallocc-fix-typo-in-comment.patch mm-mmu_gather-remove-__tlb_reset_range-for-force-flush-checkpatch-fixes.patch prctl_set_mm-refactor-checks-from-validate_prctl_map-checkpatch-fixes.patch prctl_set_mm-downgrade-mmap_sem-to-read-lock-checkpatch-fixes.patch proc-report-eip-and-esp-for-all-threads-when-coredumping-fix.patch scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix.patch ocfs2-clear-zero-in-unaligned-direct-io-checkpatch-fixes.patch mm.patch mm-kasan-print-frame-description-for-stack-bugs-fix.patch include-linux-pfn_th-remove-pfn_t_to_virt.patch mm-add-probe_user_read-fix.patch byteorder-sanity-check-toolchain-vs-kernel-endianess-checkpatch-fixes.patch linux-next-rejects.patch kernel-forkc-export-kernel_thread-to-modules.patch