diff options
| author | Song Liu <[email protected]> | 2022-05-20 23:57:53 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-05-23 21:08:11 +0000 |
| commit | fe736565efb775620dbcf3c459c1cd80d3e868da (patch) | |
| tree | 36163c41f35163deb7c0604f8561b3074967bf47 /scripts/bpf_doc.py | |
| parent | x86/alternative: Introduce text_poke_set (diff) | |
| download | kernel-fe736565efb775620dbcf3c459c1cd80d3e868da.tar.gz kernel-fe736565efb775620dbcf3c459c1cd80d3e868da.zip | |
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 <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
