[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <150150825899.31981.16898805685027748636.stgit@devbox>
Date: Mon, 31 Jul 2017 22:37:49 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: Ingo Molnar <mingo@...hat.com>, "H . Peter Anvin" <hpa@...or.com>,
x86@...nel.org, Masami Hiramatsu <mhiramat@...nel.org>,
Ananth N Mavinakayanahalli <ananth@...ibm.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>,
"David S . Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org
Subject: [PATCH -tip 0/2] kprobes/x86: RO text code bugfix and cleanup
Hi,
This series fixes a kprobe-x86 bug related to RO text and
cleans up addressof operators.
The first one is an obvious bug that misses to set memory
RO when the function fails. I've just add set_memory_ro()
on error exit.
And the second one is just a cleanup patch to remove
addressof operators ("&") since it is meaningless anymore.
Please apply these, since this series is independent from
another bugfix related to optprobe discussing in other
thread.
Thanks,
---
Masami Hiramatsu (2):
kprobes/x86: Don't forget to set memory back to RO on failure
kprobes/x86: Remove addressof operators
arch/x86/include/asm/kprobes.h | 4 ++--
arch/x86/kernel/kprobes/core.c | 4 +++-
arch/x86/kernel/kprobes/opt.c | 9 +++++----
3 files changed, 10 insertions(+), 7 deletions(-)
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists