]> git.ipfire.org Git - thirdparty/linux.git/commit
bpf, arm64: Add fsession support
authorLeon Hwang <leon.hwang@linux.dev>
Sat, 31 Jan 2026 14:49:49 +0000 (22:49 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 31 Jan 2026 21:51:04 +0000 (13:51 -0800)
commite3aa56b3ac175bccb8fe60d652a3df2ea6a68a1e
tree04d6e7ebbff09f7a10446ac913a72eb112f6c922
parent8798902f2b8bcae6f90229a1a1496b48ddda2972
bpf, arm64: Add fsession support

Implement fsession support in the arm64 BPF JIT trampoline.

Extend the trampoline stack layout to store function metadata and
session cookies, and pass the appropriate metadata to fentry and
fexit programs. This mirrors the existing x86 behavior and enables
session cookies on arm64.

Acked-by: Puranjay Mohan <puranjay@kernel.org>
Tested-by: Puranjay Mohan <puranjay@kernel.org>
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Link: https://lore.kernel.org/r/20260131144950.16294-3-leon.hwang@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/arm64/net/bpf_jit_comp.c
include/linux/bpf.h