diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2019-02-12 17:11:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-02-13 08:16:39 +0100 |
commit | 877b145f0f4723133f934be402b8dfc769eb971f (patch) | |
tree | f788a9d1dc74203612d62ca4035a0e31aad7174c /arch/x86/kernel/traps.c | |
parent | x86/kprobes: Prohibit probing on optprobe template code (diff) | |
download | linux-877b145f0f4723133f934be402b8dfc769eb971f.tar.xz linux-877b145f0f4723133f934be402b8dfc769eb971f.zip |
x86/kprobes: Move trampoline code into RODATA
Move optprobe trampoline code into RODATA since it is
not executed, but copied and modified to be used on
a trampoline buffer.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andrea Righi <righi.andrea@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/154998790744.31052.3016106262944915510.stgit@devbox
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions