On Thu, 20 Jul 2017 11:41:38 -0700
Linus Torvalds [off-list ref] wrote:
On Thu, Jul 20, 2017 at 8:51 AM, Masami Hiramatsu [off-list ref] wrote:
quoted
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Ok, I committed that patch as-is.
Other architectures may end up with the same issue, unless they really
happen to have just a single instruction that fits in their
kprobe_opcode_t type in their templates. But I didn't touch any of
their (similar) code, since it will need testing.
Similar optprobe code are in arm and powerpc, arm does not support
FORTIFY_SOURCE (yet), and powerpc already fixed that same way.
So I'll make a same fix on arm before traped to the same issue.
Thank you,
--
Masami Hiramatsu [off-list ref]