ARM kprobes: prevent some functions involved with kprobes from being probed
Signed-off-by: Nicolas Pitre <nico@marvell.com>
This commit is contained in:
committed by
Russell King
parent
d30a0c8bf9
commit
785d3cd286
@@ -239,7 +239,7 @@ out:
|
||||
return fault;
|
||||
}
|
||||
|
||||
static int
|
||||
static int __kprobes
|
||||
do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)
|
||||
{
|
||||
struct task_struct *tsk;
|
||||
@@ -338,7 +338,7 @@ no_context:
|
||||
* interrupt or a critical region, and should only copy the information
|
||||
* from the master page table, nothing more.
|
||||
*/
|
||||
static int
|
||||
static int __kprobes
|
||||
do_translation_fault(unsigned long addr, unsigned int fsr,
|
||||
struct pt_regs *regs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user