linux/include
Song Liu c872bdb38f bpf: include sub program tags in bpf_prog_info
Changes v2 -> v3:
1. remove check for bpf_dump_raw_ok().

Changes v1 -> v2:
1. Fix error path as Martin suggested.

This patch adds nr_prog_tags and prog_tags to bpf_prog_info. This is a
reliable way for user space to get tags of all sub programs. Before this
patch, user space need to find sub program tags via kallsyms.

This feature will be used in BPF introspection, where user space queries
information about BPF programs via sys_bpf.

Signed-off-by: Song Liu <songliubraving@fb.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-12-13 12:22:28 +01:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux bpf: add bpffs pretty print for cgroup local storage maps 2018-12-12 15:33:38 -08:00
math-emu
media
memory
misc
net net/sched: Remove egdev mechanism 2018-12-10 15:54:34 -08:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-12-09 21:43:31 -08:00
uapi bpf: include sub program tags in bpf_prog_info 2018-12-13 12:22:28 +01:00
video
xen