a8dfde09c9
BPF selftests require CONFIG_FUNCTION_ERROR_INJECTION to work. However,
CONFIG_FUNCTION_ERROR_INJECTION is no longer 'y' by default after recent
changes. As a result, we are seeing errors like the following from BPF CI:
bpf_testmod_test_read() is not modifiable
__x64_sys_setdomainname is not sleepable
__x64_sys_getpgid is not sleepable
Fix this by explicitly selecting CONFIG_FUNCTION_ERROR_INJECTION in the
selftest config.
Fixes: a4412fdd49
("error-injection: Add prompt for function error injection")
Reported-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Müller <deso@posteo.net>
Link: https://lore.kernel.org/bpf/20221213220500.3427947-1-song@kernel.org
80 lines
1.7 KiB
Plaintext
80 lines
1.7 KiB
Plaintext
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC=y
|
|
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=y
|
|
CONFIG_BPF=y
|
|
CONFIG_BPF_EVENTS=y
|
|
CONFIG_BPF_JIT=y
|
|
CONFIG_BPF_LIRC_MODE2=y
|
|
CONFIG_BPF_LSM=y
|
|
CONFIG_BPF_STREAM_PARSER=y
|
|
CONFIG_BPF_SYSCALL=y
|
|
# CONFIG_BPF_UNPRIV_DEFAULT_OFF is not set
|
|
CONFIG_CGROUP_BPF=y
|
|
CONFIG_CRYPTO_HMAC=y
|
|
CONFIG_CRYPTO_SHA256=y
|
|
CONFIG_CRYPTO_USER_API_HASH=y
|
|
CONFIG_DYNAMIC_FTRACE=y
|
|
CONFIG_FPROBE=y
|
|
CONFIG_FTRACE_SYSCALLS=y
|
|
CONFIG_FUNCTION_ERROR_INJECTION=y
|
|
CONFIG_FUNCTION_TRACER=y
|
|
CONFIG_GENEVE=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_IMA=y
|
|
CONFIG_IMA_READ_POLICY=y
|
|
CONFIG_IMA_WRITE_POLICY=y
|
|
CONFIG_INET_ESP=y
|
|
CONFIG_IP_NF_FILTER=y
|
|
CONFIG_IP_NF_RAW=y
|
|
CONFIG_IP_NF_TARGET_SYNPROXY=y
|
|
CONFIG_IPV6=y
|
|
CONFIG_IPV6_FOU=y
|
|
CONFIG_IPV6_FOU_TUNNEL=y
|
|
CONFIG_IPV6_GRE=y
|
|
CONFIG_IPV6_SEG6_BPF=y
|
|
CONFIG_IPV6_SIT=y
|
|
CONFIG_IPV6_TUNNEL=y
|
|
CONFIG_KEYS=y
|
|
CONFIG_LIRC=y
|
|
CONFIG_LWTUNNEL=y
|
|
CONFIG_MODULE_SIG=y
|
|
CONFIG_MODULE_SRCVERSION_ALL=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODVERSIONS=y
|
|
CONFIG_MPLS=y
|
|
CONFIG_MPLS_IPTUNNEL=y
|
|
CONFIG_MPLS_ROUTING=y
|
|
CONFIG_MPTCP=y
|
|
CONFIG_NET_CLS_ACT=y
|
|
CONFIG_NET_CLS_BPF=y
|
|
CONFIG_NET_CLS_FLOWER=y
|
|
CONFIG_NET_FOU=y
|
|
CONFIG_NET_FOU_IP_TUNNELS=y
|
|
CONFIG_NET_IPGRE=y
|
|
CONFIG_NET_IPGRE_DEMUX=y
|
|
CONFIG_NET_IPIP=y
|
|
CONFIG_NET_MPLS_GSO=y
|
|
CONFIG_NET_SCH_INGRESS=y
|
|
CONFIG_NET_SCHED=y
|
|
CONFIG_NETDEVSIM=y
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_NETFILTER_SYNPROXY=y
|
|
CONFIG_NETFILTER_XT_CONNMARK=y
|
|
CONFIG_NETFILTER_XT_MATCH_STATE=y
|
|
CONFIG_NETFILTER_XT_TARGET_CT=y
|
|
CONFIG_NF_CONNTRACK=y
|
|
CONFIG_NF_CONNTRACK_MARK=y
|
|
CONFIG_NF_DEFRAG_IPV4=y
|
|
CONFIG_NF_DEFRAG_IPV6=y
|
|
CONFIG_NF_NAT=y
|
|
CONFIG_RC_CORE=y
|
|
CONFIG_SECURITY=y
|
|
CONFIG_SECURITYFS=y
|
|
CONFIG_TEST_BPF=m
|
|
CONFIG_USERFAULTFD=y
|
|
CONFIG_VXLAN=y
|
|
CONFIG_XDP_SOCKETS=y
|
|
CONFIG_XFRM_INTERFACE=y
|