diff options
author | Masami Hiramatsu <[email protected]> | 2019-09-06 22:14:20 +0900 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2019-10-17 21:31:57 +0200 |
commit | 004e8dce9c5595697951f7cd0e9f66b35c92265e (patch) | |
tree | 8f9f371ea1784d4dba013b7bfb7d2fb7eff4e47d /lib/memory-notifier-error-inject.c | |
parent | 4d65adfcd1196818659d3bd9b42dccab291e1751 (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: [email protected]
Cc: Boris Ostrovsky <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Andrew Cooper <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: [email protected]
Cc: Randy Dunlap <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Link: https://lkml.kernel.org/r/156777566048.25081.6296162369492175325.stgit@devnote2
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions