Merge tag '5.14-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6
[linux-2.6-microblaze.git] / kernel / bpf / preload / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config USERMODE_DRIVER
3         bool
4         default n
5
6 menuconfig BPF_PRELOAD
7         bool "Preload BPF file system with kernel specific program and map iterators"
8         depends on BPF
9         depends on BPF_SYSCALL
10         # The dependency on !COMPILE_TEST prevents it from being enabled
11         # in allmodconfig or allyesconfig configurations
12         depends on !COMPILE_TEST
13         select USERMODE_DRIVER
14         help
15           This builds kernel module with several embedded BPF programs that are
16           pinned into BPF FS mount point as human readable files that are
17           useful in debugging and introspection of BPF programs and maps.
18
19 if BPF_PRELOAD
20 config BPF_PRELOAD_UMD
21         tristate "bpf_preload kernel module with user mode driver"
22         depends on CC_CAN_LINK
23         depends on m || CC_CAN_LINK_STATIC
24         default m
25         help
26           This builds bpf_preload kernel module with embedded user mode driver.
27 endif