Commit cde97d94 authored by cheliequan's avatar cheliequan
Browse files

enable CONFIG_BPF_LSM option by default to use safegurad

inspurcloud inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IAGNKW

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=641cd7b06c911c5935c34f24850ea18690649917



--------------------------------

Enabling CONFIG_BPF_LSM in the KConfig of openEuler Kernels,
allowing users to use BPF LSM programs.

CONFIG_BPF_LSM is enabled in Ubuntu 21.04 by default (Hirsute Hippo)

Signed-off-by: default avatarcheliequan <cheliequan@inspur.com>
parent 67f42125
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ CONFIG_MEMBARRIER=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_BASE_RELATIVE=y
# CONFIG_BPF_LSM is not set
CONFIG_BPF_LSM=y
CONFIG_BPF_SCHED=y
CONFIG_BPF_SYSCALL=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
+1 −1
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y
CONFIG_KALLSYMS_BASE_RELATIVE=y
# CONFIG_BPF_LSM is not set
CONFIG_BPF_LSM=y
CONFIG_BPF_SCHED=y
CONFIG_BPF_SYSCALL=y
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y