summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-09-10 17:55:05 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-09-18 14:27:24 -0400
commit82d083ab60c3693201c6f5c7a5f23a6ed422098d (patch)
tree7f06f17d223c18e2687cf2da136590e85a1502fc /init/do_mounts.h
parent46bbe5c671e06f070428b9be142cc4ee5cedebac (diff)
downloadlinux-82d083ab60c3693201c6f5c7a5f23a6ed422098d.tar.gz
linux-82d083ab60c3693201c6f5c7a5f23a6ed422098d.tar.bz2
linux-82d083ab60c3693201c6f5c7a5f23a6ed422098d.zip
kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
Since kprobe_event= cmdline option allows user to put kprobes on the functions in initmem, kprobe has to make such probes gone after boot. Currently the probes on the init functions in modules will be handled by module callback, but the kernel init text isn't handled. Without this, kprobes may access non-exist text area to disable or remove it. Link: https://lkml.kernel.org/r/159972810544.428528.1839307531600646955.stgit@devnote2 Fixes: 970988e19eb0 ("tracing/kprobe: Add kprobe_event= boot parameter") Cc: Jonathan Corbet <corbet@lwn.net> Cc: Shuah Khan <skhan@linuxfoundation.org> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions