diff options
author | Alexei Starovoitov <ast@kernel.org> | 2019-11-14 19:57:03 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-11-15 23:41:28 +0100 |
commit | 5964b2000f283ff5df366f718e0f083ebbaae977 (patch) | |
tree | 1c9340853eb72ac070354a5f1291a976ba66911d /kernel/bpf/Makefile | |
parent | bpf: Refactor x86 JIT into helpers (diff) | |
download | linux-5964b2000f283ff5df366f718e0f083ebbaae977.tar.xz linux-5964b2000f283ff5df366f718e0f083ebbaae977.zip |
bpf: Add bpf_arch_text_poke() helper
Add bpf_arch_text_poke() helper that is used by BPF trampoline logic to patch
nops/calls in kernel text into calls into BPF trampoline and to patch
calls/nops inside BPF programs too.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20191114185720.1641606-4-ast@kernel.org
Diffstat (limited to 'kernel/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions