diff options
| author | Song Chen <chensong_2000@126.com> | 2026-06-03 17:19:10 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-06-05 08:05:14 -0700 |
| commit | 27ffbfd14d774adfc64ae1f8f76aa6195411087a (patch) | |
| tree | ecbfaed25f1f8a63a10e67420e75d9be7b3e9bd5 /include/linux/timerqueue.h | |
| parent | 390dc36ccfa1a46b19de994181fc5248aff4c177 (diff) | |
bpf: Reject registration of duplicated kfunc
Search for duplicated kfunc in btf_vmlinux and btf_modules
before a kernel module attempts to register a kfunc.
If kfunc would shadow existing kfunc then pr_err() and
reject module loading.
Reviewed-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Song Chen <chensong_2000@126.com>
Link: https://lore.kernel.org/r/20260603091910.7212-1-chensong_2000@126.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
