[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMe9rOoXQK5GgveVem2fSJWeAYUDjoKOo6ESpkU+29NfytNC7A@mail.gmail.com>
Date: Wed, 22 Jul 2020 14:22:17 -0700
From: "H.J. Lu" <hjl.tools@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
"the arch/x86 maintainers" <x86@...nel.org>,
Christoph Hellwig <hch@....de>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [PATCH] x86/dumpstack: Dump user space code correctly again
On Wed, Jul 22, 2020 at 12:47 PM Thomas Gleixner <tglx@...utronix.de> wrote:
>
> "H.J. Lu" <hjl.tools@...il.com> writes:
> > On Wed, Jul 22, 2020 at 10:54 AM Thomas Gleixner <tglx@...utronix.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?
>
Can we count "dmesg" to always dump opcode?
--
H.J.
Powered by blists - more mailing lists