aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/linker.c
diff options
context:
space:
mode:
authorRafael David Tinoco <[email protected]>2021-03-23 04:09:52 +0000
committerAlexei Starovoitov <[email protected]>2021-03-26 02:23:27 +0000
commit155f556d64b1a48710f01305e14bb860734ed1e3 (patch)
tree6a719b790128b4142547560041bfc912cc7fe8c4 /tools/lib/bpf/linker.c
parentMerge branch 'add support for batched ops in LPM trie' (diff)
downloadkernel-155f556d64b1a48710f01305e14bb860734ed1e3.tar.gz
kernel-155f556d64b1a48710f01305e14bb860734ed1e3.zip
libbpf: Add bpf object kern_version attribute setter
Unfortunately some distros don't have their kernel version defined accurately in <linux/version.h> due to different long term support reasons. It is important to have a way to override the bpf kern_version attribute during runtime: some old kernels might still check for kern_version attribute during bpf_prog_load(). Signed-off-by: Rafael David Tinoco <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/linker.c')
0 files changed, 0 insertions, 0 deletions