commit | b6b76dd62c56f257cdd30900ed22668c42a74030 | [log] [tgz] |
---|---|---|
author | Masami Hiramatsu <mhiramat@kernel.org> | Mon Mar 12 19:00:49 2018 +0900 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Mon Mar 12 16:16:00 2018 +0100 |
tree | 14c8d11284da90abb655fcc9c1da1e5231dde6aa | |
parent | 9e5fb7207024e53700bdac23f53d1e44d530a7f6 [diff] |
error-injection: Fix to prohibit jump optimization Since the kprobe which was optimized by jump can not change the execution path, the kprobe for error-injection must not be optimized. To prohibit it, set a dummy post-handler as officially stated in Documentation/kprobes.txt. Fixes: 4b1a29a7f542 ("error-injection: Support fault injection framework") Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>