summaryrefslogtreecommitdiff
path: root/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2020-03-23 10:22:05 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-03-25 04:53:39 +0300
commitba7e9864fb3bdce243fd3bf3fdbf4a0455704430 (patch)
tree15b7da216a66ce24f888d179c21c9cbf9a176402 /meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig
parent0dfa6040c846ad4552bc99a5e0720310b9113799 (diff)
downloadopenbmc-ba7e9864fb3bdce243fd3bf3fdbf4a0455704430.tar.xz
linux-aspeed: Enable CGROUP_BPF and NAMESPACES
These are used by systemd to provide isolation features: Required for IPAddressDeny= and IPAddressAllow= in resource control unit settings CONFIG_CGROUP_BPF Required for PrivateNetwork= in service units: CONFIG_NET_NS Note that systemd-localed.service and other systemd units use PrivateNetwork so this is effectively required. Required for PrivateUsers= in service units: CONFIG_USER_NS (NET_NS is default y so we get it by enabling namespace support). (From meta-aspeed rev: 5ad76c27abbb7d7e65c97bce6be63d7aa542a531) Change-Id: I8e6311526393c663c62e310a465df9306251c021 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig')
-rw-r--r--meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig b/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig
index 939a60e91..00dd0ca60 100644
--- a/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig
+++ b/meta-aspeed/recipes-kernel/linux/linux-aspeed/aspeed-g4/defconfig
@@ -7,6 +7,9 @@ CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=16
CONFIG_CGROUPS=y
+CONFIG_CGROUP_BPF=y
+CONFIG_NAMESPACES=y
+CONFIG_USER_NS=y
CONFIG_BLK_DEV_INITRD=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZO is not set