]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: Add namespace to BPF internal symbols
authorAlexei Starovoitov <ast@kernel.org>
Fri, 25 Apr 2025 01:45:42 +0000 (18:45 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 25 Apr 2025 16:21:23 +0000 (09:21 -0700)
commitf88886de0927a2adf4c1b4c5c1f1d31d2023ef74
tree1f2b41b41d633f1d09d4c20b59505cf93e305b6a
parent6ae003adc029c74e7f97cc65dc1e79109a1f2d67
bpf: Add namespace to BPF internal symbols

Add namespace to BPF internal symbols used by light skeleton
to prevent abuse and document with the code their allowed usage.

Fixes: b1d18a7574d0 ("bpf: Extend sys_bpf commands for bpf_syscall programs.")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/bpf/20250425014542.62385-1-alexei.starovoitov@gmail.com
Documentation/bpf/bpf_devel_QA.rst
kernel/bpf/preload/bpf_preload_kern.c
kernel/bpf/syscall.c