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