[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200826152612.GX2674@hirez.programming.kicks-ass.net>
Date:   Wed, 26 Aug 2020 17:26:12 +0200
From:   peterz@...radead.org
To:     Masami Hiramatsu <mhiramat@...nel.org>
Cc:     Eddy Wu <Eddy_Wu@...ndmicro.com>, linux-kernel@...r.kernel.org,
        x86@...nel.org, "David S . Miller" <davem@...emloft.net>,
        Steven Rostedt <rostedt@...dmis.org>,
        Ingo Molnar <mingo@...hat.com>,
        "Naveen N . Rao" <naveen.n.rao@...ux.ibm.com>,
        Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>,
        linux-arch@...r.kernel.org
Subject: Re: [RFC PATCH 03/14] arm: kprobes: Use generic kretprobe trampoline
 handler
On Thu, Aug 27, 2020 at 12:04:05AM +0900, Masami Hiramatsu wrote:
> > Argh, I replied to the wrong variant, I mean the one that uses
> > kernel_stack_pointer(regs).
> 
> Would you mean using kernel_stack_pointer() for the frame_pointer?
> Some arch will be OK, but others can not get the framepointer by that.
> (that is because the stack layout is different on the function prologue
> and returned address, e.g. x86...)
Yeah, I noticed :/
I was hoping to avoid some further duplication, but they're all sublty
different.
Powered by blists - more mailing lists