summaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorSong Liu <song@kernel.org>2022-05-20 16:57:53 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2022-05-23 23:08:11 +0200
commitfe736565efb775620dbcf3c459c1cd80d3e868da (patch)
tree36163c41f35163deb7c0604f8561b3074967bf47 /scripts/bpf_doc.py
parentaadd1b678ebef81cc3ed23663253ae3749cdc673 (diff)
downloadlinux-fe736565efb775620dbcf3c459c1cd80d3e868da.tar.bz2
bpf: Introduce bpf_arch_text_invalidate for bpf_prog_pack
Introduce bpf_arch_text_invalidate and use it to fill unused part of the bpf_prog_pack with illegal instructions when a BPF program is freed. Fixes: 57631054fae6 ("bpf: Introduce bpf_prog_pack allocator") Fixes: 33c9805860e5 ("bpf: Introduce bpf_jit_binary_pack_[alloc|finalize|free]") Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220520235758.1858153-4-song@kernel.org
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions