mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
powerpc/kprobes: Blacklist emulate_update_regs() from kprobes
Commit 3cdfcbfd32
("powerpc: Change analyse_instr so it doesn't
modify *regs") introduced emulate_update_regs() to perform part of what
emulate_step() was doing earlier. However, this function was not added
to the kprobes blacklist. Add it so as to prevent it from being probed.
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
f72180cc93
commit
67ac0bfe29
@ -2717,6 +2717,7 @@ void emulate_update_regs(struct pt_regs *regs, struct instruction_op *op)
|
||||
}
|
||||
regs->nip = next_pc;
|
||||
}
|
||||
NOKPROBE_SYMBOL(emulate_update_regs);
|
||||
|
||||
/*
|
||||
* Emulate a previously-analysed load or store instruction.
|
||||
|
Loading…
Reference in New Issue
Block a user