aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2024-11-28 13:27:16 +0000
committerBenjamin Tissoires <[email protected]>2024-11-29 14:27:04 +0000
commit8d355b56f29533e0b0db0d9a2de8bdc05ab27375 (patch)
treeac033277908c1d3a4fcffc8c4897520f2871fa26 /net/unix/unix_bpf.c
parentHID: bpf: drop unneeded casts discarding const (diff)
downloadkernel-8d355b56f29533e0b0db0d9a2de8bdc05ab27375.tar.gz
kernel-8d355b56f29533e0b0db0d9a2de8bdc05ab27375.zip
selftests/hid: fix kfunc inclusions with newer bpftool
bpftool now embeds the kfuncs definitions directly in the generated vmlinux.h This is great, but because the selftests dir might be compiled with HID_BPF disabled, we have no guarantees to be able to compile the sources with the generated kfuncs. If we have the kfuncs, because we have the `__not_used` hack, the newly defined kfuncs do not match the ones from vmlinux.h and things go wrong. Prevent vmlinux.h to define its kfuncs and also add the missing `__weak` symbols for our custom kfuncs definitions Link: https://patch.msgid.link/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions