Thread (8 messages) read the whole thread 8 messages, 3 authors, 2026-03-07

Re: [PATCH 2/3] bpf: introduce bpf_jit_insn_aux_data

From: Yeoreum Yun <hidden>
Date: 2026-03-06 22:43:13
Also in: bpf, lkml

On Fri, Mar 6, 2026 at 2:13 PM Yeoreum Yun [off-list ref] wrote:
quoted
This patch prepares for fixing the BTI exception related to gotox.

bpf_jit_insn_aux_data contains per-instruction auxiliary data for the JIT,
extracted from env->insn_aux_data.

For example, it is used to determine whether an instruction is
a destination of a gotox, allowing the JIT to emit
the appropriate BTI instruction at that location in arm64.

Signed-off-by: Yeoreum Yun <redacted>
---
 include/linux/bpf.h    |  6 +++++
 include/linux/filter.h |  4 +++
 kernel/bpf/core.c      | 59 +++++++++++++++++++++++++++++++++++++++++-
 kernel/bpf/verifier.c  | 30 ++++++++++++++++++++-
 4 files changed, 97 insertions(+), 2 deletions(-)
before posting patches please scan the mailing list to see whether
a particular issue was discussed.

pw-bot: cr
Oh. I missed Xu Kuohai's patch posted on today.
  - https://lore.kernel.org/all/20260306102329.2056216-1-xukuohai@huaweicloud.com/ (local)

Thanks.

--
Sincerely,
Yeoreum Yun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help