linux-sg2042/kernel/bpf/preload
Randy Dunlap 7c0afcad75 bpf: BPF_PRELOAD depends on BPF_SYSCALL
Fix build error when BPF_SYSCALL is not set/enabled but BPF_PRELOAD is
by making BPF_PRELOAD depend on BPF_SYSCALL.

ERROR: modpost: "bpf_preload_ops" [kernel/bpf/preload/bpf_preload.ko] undefined!

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20201105195109.26232-1-rdunlap@infradead.org
2020-11-05 18:49:29 -08:00
..
iterators bpf: Move prog->aux->linked_prog and trampoline into bpf_link on attach 2020-09-29 13:09:23 -07:00
.gitignore bpf/preload: Make sure Makefile cleans up after itself, and add .gitignore 2020-09-29 11:15:01 -07:00
Kconfig bpf: BPF_PRELOAD depends on BPF_SYSCALL 2020-11-05 18:49:29 -08:00
Makefile bpf/preload: Make sure Makefile cleans up after itself, and add .gitignore 2020-09-29 11:15:01 -07:00
bpf_preload.h bpf: Add kernel module with user mode driver that populates bpffs. 2020-08-20 16:02:36 +02:00
bpf_preload_kern.c bpf: Add kernel module with user mode driver that populates bpffs. 2020-08-20 16:02:36 +02:00
bpf_preload_umd_blob.S bpf: Add kernel module with user mode driver that populates bpffs. 2020-08-20 16:02:36 +02:00