linux/tools
Hangbin Liu 1f235777c3 libbpf: Making bpf_prog_load() ignore name if kernel doesn't support
Similar with commit 10b62d6a38 ("libbpf: Add names for auxiliary maps"),
let's make bpf_prog_load() also ignore name if kernel doesn't support
program name.

To achieve this, we need to call sys_bpf_prog_load() directly in
probe_kern_prog_name() to avoid circular dependency. sys_bpf_prog_load()
also need to be exported in the libbpf_internal.h file.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20220813000936.6464-1-liuhangbin@gmail.com
2022-08-15 14:58:20 -07:00
..
accounting
arch flexible-array transformations in UAPI for 6.0-rc1 2022-08-02 19:50:47 -07:00
bootconfig
bpf bpftool: Clear errno after libcap's checks 2022-08-15 20:37:33 +02:00
build
certs
cgroup
counter
debugging
edid
firewire
firmware
gpio
hv
iio
include bpf: Clear up confusion in bpf_skb_adjust_room()'s documentation 2022-08-15 17:34:29 +02:00
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Making bpf_prog_load() ignore name if kernel doesn't support 2022-08-15 14:58:20 -07:00
memory-model
objtool This was a moderately busy cycle for documentation, but nothing all that 2022-08-02 19:24:24 -07:00
pci
pcmcia
perf Networking changes for 6.0. 2022-08-03 16:29:08 -07:00
power Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux 2022-08-02 12:47:31 -07:00
rcu
scripts
spi
testing selftests/bpf: Update CI kconfig 2022-08-15 20:53:25 +02:00
thermal thermal/tools/tmon: Fix typo 'the the' in comment 2022-07-28 17:29:52 +02:00
time
tracing
usb
virtio
vm tools/vm/slabinfo: Handle files in debugfs 2022-07-04 17:10:15 +02:00
wmi
Makefile