summaryrefslogtreecommitdiffstats
path: root/include/linux/uprobes.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2012-08-08 18:07:03 +0200
committerAnton Arapov <anton@redhat.com>2012-10-29 11:22:09 +0100
commit4d6ee32371c4b0123d445210ed50f52ced14f996 (patch)
tree5f9cbc78088f6fc5677986532eadd29889847470 /include/linux/uprobes.h
parentec8583cfad22e8856fd4c2020f55d1123e3bcee0 (diff)
downloadkernel-uprobes-4d6ee32371c4b0123d445210ed50f52ced14f996.tar.gz
kernel-uprobes-4d6ee32371c4b0123d445210ed50f52ced14f996.tar.xz
kernel-uprobes-4d6ee32371c4b0123d445210ed50f52ced14f996.zip
uprobes: Remove "verify" argument from set_orig_insn()
Nobody does set_orig_insn(verify => false), and I think nobody will. Remove this argument. IIUC set_orig_insn(verify => false) was needed to single-step without xol area. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/uprobes.h')
-rw-r--r--include/linux/uprobes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h
index 30297f95c8a..6d4fe79a1a6 100644
--- a/include/linux/uprobes.h
+++ b/include/linux/uprobes.h
@@ -102,7 +102,7 @@ struct uprobes_state {
};
extern int __weak set_swbp(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr);
-extern int __weak set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr, bool verify);
+extern int __weak set_orig_insn(struct arch_uprobe *aup, struct mm_struct *mm, unsigned long vaddr);
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 void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);