aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bpf.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2018-03-12 19:00:49 +0900
committerDaniel Borkmann <daniel@iogearbox.net>2018-03-12 16:16:00 +0100
commitb6b76dd62c56f257cdd30900ed22668c42a74030 (patch)
tree14c8d11284da90abb655fcc9c1da1e5231dde6aa /lib/test_bpf.c
parentMerge branch 'bnxt_en-Bug-fixes' (diff)
downloadlinux-dev-b6b76dd62c56f257cdd30900ed22668c42a74030.tar.xz
linux-dev-b6b76dd62c56f257cdd30900ed22668c42a74030.zip
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>
Diffstat (limited to 'lib/test_bpf.c')
0 files changed, 0 insertions, 0 deletions