summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2026-05-13 07:50:49 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-05-13 19:27:31 +0300
commitdc8f1cf6787c4bb1d8cabfac1e44d2d0ab435caa (patch)
tree8bfec0c7e43032524e82fcba3606ff4b214b3acc /include/linux
parent2af4e792773f9fc05e5dbd5f297707cfe15cd817 (diff)
downloadlinux-dc8f1cf6787c4bb1d8cabfac1e44d2d0ab435caa.tar.xz
bpf: Reject stack arguments in non-JITed programs
The interpreter does not understand the bpf register r11 (BPF_REG_PARAMS) used for stack arguments. So reject interpreter usage if stack arguments are used either in the main program or any subprogram. Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20260513045049.2390444-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions