Last active
August 29, 2023 04:42
-
-
Save dudo/0540f120affa7f22d5e9c97b627cee79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REQUIRED_CONFIGS=( | |
CONFIG_BPF | |
CONFIG_BPF_SYSCALL | |
CONFIG_NET_CLS_BPF | |
CONFIG_BPF_JIT | |
CONFIG_NET_CLS_ACT | |
CONFIG_NET_SCH_INGRESS | |
CONFIG_CRYPTO_SHA1 | |
CONFIG_CRYPTO_USER_API_HASH | |
CONFIG_CGROUPS | |
CONFIG_CGROUP_BPF | |
CONFIG_PERF_EVENTS | |
CONFIG_SCHEDSTATS | |
CONFIG_NETFILTER_XT_TARGET_TPROXY | |
CONFIG_NETFILTER_XT_TARGET_CT | |
CONFIG_NETFILTER_XT_MATCH_MARK | |
CONFIG_NETFILTER_XT_MATCH_SOCKET | |
) | |
for config in "${REQUIRED_CONFIGS[@]}" | |
do | |
zcat /proc/config.gz | grep "${config}[ =]" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment