[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220425203947.3311308-1-song@kernel.org>
Date: Mon, 25 Apr 2022 13:39:44 -0700
From: Song Liu <song@...nel.org>
To: <bpf@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <andrii@...nel.org>, <ast@...nel.org>, <daniel@...earbox.net>,
<kernel-team@...com>, <hch@...radead.org>, <peterz@...radead.org>,
<torvalds@...ux-foundation.org>, Song Liu <song@...nel.org>
Subject: [PATCH bpf v2 0/3] bpf: invalidate unused part of bpf_prog_pack
Note: while prefixed with "bpf", this set is based on Linus' master branch.
This is v2 of [1]. It is revised based on Peter's feedback. The patch is
also split into 3.
[1] https://lore.kernel.org/linux-mm/20220421072212.608884-1-song@kernel.org/
Song Liu (3):
bpf: fill new bpf_prog_pack with illegal instructions
x86/alternative: introduce text_poke_set
bpf: introduce bpf_arch_text_invalidate for bpf_prog_pack
arch/x86/include/asm/text-patching.h | 1 +
arch/x86/kernel/alternative.c | 70 ++++++++++++++++++++++++----
arch/x86/net/bpf_jit_comp.c | 5 ++
include/linux/bpf.h | 1 +
kernel/bpf/core.c | 18 +++++--
5 files changed, 81 insertions(+), 14 deletions(-)
--
2.30.2
Powered by blists - more mailing lists