diff options
author | 2023-03-17 15:44:27 -0700 | |
---|---|---|
committer | 2023-03-17 15:46:03 -0700 | |
commit | 6cae5a7106e272e7908a1facdf519a307f93872d (patch) | |
tree | dd3fb68a821169c52d13421de0ba528db0ce70ba /net/core/sock_map.c | |
parent | bpf, docs: Use internal linking for link to netdev subsystem doc (diff) | |
parent | selftests/bpf: Add test for bpf_ksym_exists(). (diff) | |
download | wireguard-linux-6cae5a7106e272e7908a1facdf519a307f93872d.tar.xz wireguard-linux-6cae5a7106e272e7908a1facdf519a307f93872d.zip |
Merge branch 'bpf: Add detection of kfuncs.'
Alexei Starovoitov says:
====================
From: Alexei Starovoitov <ast@kernel.org>
Allow BPF programs detect at load time whether particular kfunc exists.
Patch 1: Allow ld_imm64 to point to kfunc in the kernel.
Patch 2: Fix relocation of kfunc in ld_imm64 insn when kfunc is in kernel module.
Patch 3: Introduce bpf_ksym_exists() macro.
Patch 4: selftest.
NOTE: detection of kfuncs from light skeleton is not supported yet.
====================
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions