All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, josh@joshtriplett.org,
	adobriyan@gmail.com, deller@gmx.de, akpm@linux-foundation.org
Subject: [failures] x86-fault-dump-command-line-of-faulting-process-to-syslog.patch removed from -mm tree
Date: Mon, 22 Aug 2022 14:02:07 -0700	[thread overview]
Message-ID: <20220822210208.547C9C433B5@smtp.kernel.org> (raw)


The quilt patch titled
     Subject: x86/fault: dump command line of faulting process to syslog
has been removed from the -mm tree.  Its filename was
     x86-fault-dump-command-line-of-faulting-process-to-syslog.patch

This patch was dropped because it had testing failures

------------------------------------------------------
From: Helge Deller <deller@gmx.de>
Subject: x86/fault: dump command line of faulting process to syslog
Date: Mon, 8 Aug 2022 15:09:16 +0200

If a process segfaults, include the command line of the faulting process
in the syslog.

In the example below, the "crash" program (which simply writes zero to
address 0) was called with the parameters "this is a test":

 crash[2326]: segfault at 0 ip 0000561a7969c12e sp 00007ffe97a05630 error = 6 in crash[561a7969c000+1000]
 crash[2326] cmdline: ./crash this is a test
 Code: 68 ff ff ff c6 05 19 2f 00 00 01 5d c3 0f 1f 80 00 00 00 00 c3 0f 1f ...

Link: https://lkml.kernel.org/r/20220808130917.30760-4-deller@gmx.de
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/x86/mm/fault.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/arch/x86/mm/fault.c~x86-fault-dump-command-line-of-faulting-process-to-syslog
+++ a/arch/x86/mm/fault.c
@@ -784,6 +784,8 @@ show_signal_msg(struct pt_regs *regs, un
 
 	printk(KERN_CONT "\n");
 
+	dump_stack_print_cmdline(loglvl);
+
 	show_opcodes(regs, loglvl);
 }
 
_

Patches currently in -mm which might be from deller@gmx.de are

arc-use-generic-dump_stack_print_cmdline-implementation.patch


                 reply	other threads:[~2022-08-22 21:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220822210208.547C9C433B5@smtp.kernel.org \
    --to=akpm@linux-foundation.org \
    --cc=adobriyan@gmail.com \
    --cc=deller@gmx.de \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.