Re: [PATCH] x86/ftrace: Make sure that ftrace trampolines are not RWX

From: Luis R. Rodriguez
Date: Wed May 24 2017 - 15:34:16 EST


On Wed, May 24, 2017 at 08:53:00PM +0200, Thomas Gleixner wrote:
> On Wed, 24 May 2017, Luis R. Rodriguez wrote:
> > [ 440.548057] CPU: 2 PID: 1765 Comm: ftracetest Tainted: G E
>
> 4.12.0-rc1-next-20170519+ #155
>
> Can you please try that patch against plain 4.12-rc2?

Yup, just tried it. Same trace. Could we need to do something
special at __unregister_ftrace_function() and friends ?

Luis