|
@@ -107,7 +107,7 @@ extern bool __weak is_swbp_insn(uprobe_opcode_t *insn);
|
|
extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
|
|
extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
|
|
extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
|
|
extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
|
|
extern int uprobe_mmap(struct vm_area_struct *vma);
|
|
extern int uprobe_mmap(struct vm_area_struct *vma);
|
|
-extern void uprobe_munmap(struct vm_area_struct *vma);
|
|
|
|
|
|
+extern void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end);
|
|
extern void uprobe_free_utask(struct task_struct *t);
|
|
extern void uprobe_free_utask(struct task_struct *t);
|
|
extern void uprobe_copy_process(struct task_struct *t);
|
|
extern void uprobe_copy_process(struct task_struct *t);
|
|
extern unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs);
|
|
extern unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs);
|
|
@@ -134,7 +134,8 @@ static inline int uprobe_mmap(struct vm_area_struct *vma)
|
|
{
|
|
{
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
-static inline void uprobe_munmap(struct vm_area_struct *vma)
|
|
|
|
|
|
+static inline void
|
|
|
|
+uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
static inline void uprobe_notify_resume(struct pt_regs *regs)
|
|
static inline void uprobe_notify_resume(struct pt_regs *regs)
|