diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-05-25 09:25:20 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-06-01 16:00:09 +0200 |
commit | 00afe83098f59d3091a800d0db188ca495b2bc02 (patch) | |
tree | df2f4854033c45e8ed7958bdbce4a2b511586cd9 /arch/riscv/kernel/probes/kprobes.c | |
parent | ec6aba3d2be1ed75b3f4c894bb64a36d40db1f55 (diff) |
x86,kprobes: WARN if kprobes tries to handle a fault
With the removal of kprobe::handle_fault there is no reason left that
kprobe_page_fault() would ever return true on x86, make sure it
doesn't happen by accident.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20210525073213.660594073@infradead.org
Diffstat (limited to 'arch/riscv/kernel/probes/kprobes.c')
0 files changed, 0 insertions, 0 deletions