mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	the arch/x86 maintainers <x86@kernel.org>,
	Christoph Hellwig <hch@lst.de>,
	Josh Poimboeuf <jpoimboe@redhat.com>
Subject: Re: [PATCH] x86/dumpstack: Dump user space code correctly again
Date: Wed, 22 Jul 2020 21:47:05 +0200	[thread overview]
Message-ID: <87r1t3z612.fsf@nanos.tec.linutronix.de> (raw)
In-Reply-To: <CAMe9rOrER7Mg_YvzuqguS-GCyP-bD2hogWeo+OMXm7F6JXQUDQ@mail.gmail.com>

"H.J. Lu" <hjl.tools@gmail.com> writes:
> On Wed, Jul 22, 2020 at 10:54 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>> +       if (copy_code(regs, opcodes, prologue, sizeof(opcodes))) {
>>                 printk("%sCode: Bad RIP value.\n", loglvl);
>>         } else {
>>                 printk("%sCode: %" __stringify(PROLOGUE_SIZE) "ph <%02x> %"
>
> Add a kerel self test?

Care to whip one up?


  reply	other threads:[~2020-07-22 19:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-208655-6666@https.bugzilla.kernel.org/>
     [not found] ` <87h7tz306w.fsf@nanos.tec.linutronix.de>
2020-07-22 18:04   ` H.J. Lu
2020-07-22 19:47     ` Thomas Gleixner [this message]
2020-07-22 21:22       ` H.J. Lu
2020-07-22 21:55   ` [tip: x86/urgent] " tip-bot2 for Thomas Gleixner
2020-07-23  8:19   ` [PATCH] " Christoph Hellwig
2020-07-23 11:05     ` Thomas Gleixner

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=87r1t3z612.fsf@nanos.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=hch@lst.de \
    --cc=hjl.tools@gmail.com \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome