summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2019-09-06 15:14:20 +0200
committerPeter Zijlstra <peterz@infradead.org>2019-10-17 21:31:57 +0200
commit004e8dce9c5595697951f7cd0e9f66b35c92265e (patch)
tree8f9f371ea1784d4dba013b7bfb7d2fb7eff4e47d /tools
parentx86: xen: insn: Decode Xen and KVM emulate-prefix signature (diff)
downloadlinux-004e8dce9c5595697951f7cd0e9f66b35c92265e.tar.xz
linux-004e8dce9c5595697951f7cd0e9f66b35c92265e.zip
x86: kprobes: Prohibit probing on instruction which has emulate prefix
Prohibit probing on instruction which has XEN_EMULATE_PREFIX or KVM's emulate prefix. Since that prefix is a marker for Xen and KVM, if we modify the marker by kprobe's int3, that doesn't work as expected. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Juergen Gross <jgross@suse.com> Cc: x86@kernel.org Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Stefano Stabellini <sstabellini@kernel.org> Cc: Andrew Cooper <andrew.cooper3@citrix.com> Cc: Borislav Petkov <bp@alien8.de> Cc: xen-devel@lists.xenproject.org Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/156777566048.25081.6296162369492175325.stgit@devnote2
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions