From 5fb2cb54bc5105d41bcf2012ef5583c752588935 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Thu, 27 Oct 2016 11:16:01 +0200 Subject: Enable smack, ramdisk and nbd in linux-staging-ti kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This changeset enables the necessary features for AGL in the linux-ti-staging kernel by using configuration fragments. These are additive to the configuration matrix done by linux-ti-staging itself (per board). Apply likewise for other needed options. Change-Id: Iebd212ca81f1c6a7f65f1f413f2021aa11f8190e Signed-off-by: Jan-Simon Möller --- meta-agl-bsp/meta-ti/recipes-kernel/linux/files/ramblock_nbd.cfg | 2 ++ .../meta-ti/recipes-kernel/linux/files/smack-default-lsm.cfg | 2 ++ meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack.cfg | 8 ++++++++ 3 files changed, 12 insertions(+) create mode 100644 meta-agl-bsp/meta-ti/recipes-kernel/linux/files/ramblock_nbd.cfg create mode 100644 meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack-default-lsm.cfg create mode 100644 meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack.cfg (limited to 'meta-agl-bsp/meta-ti/recipes-kernel/linux/files') diff --git a/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/ramblock_nbd.cfg b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/ramblock_nbd.cfg new file mode 100644 index 000000000..ef498669d --- /dev/null +++ b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/ramblock_nbd.cfg @@ -0,0 +1,2 @@ +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_NBD=y diff --git a/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack-default-lsm.cfg b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack-default-lsm.cfg new file mode 100644 index 000000000..b5c48454e --- /dev/null +++ b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack-default-lsm.cfg @@ -0,0 +1,2 @@ +CONFIG_DEFAULT_SECURITY="smack" +CONFIG_DEFAULT_SECURITY_SMACK=y diff --git a/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack.cfg b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack.cfg new file mode 100644 index 000000000..62f465a45 --- /dev/null +++ b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/smack.cfg @@ -0,0 +1,8 @@ +CONFIG_IP_NF_SECURITY=m +CONFIG_IP6_NF_SECURITY=m +CONFIG_EXT2_FS_SECURITY=y +CONFIG_EXT3_FS_SECURITY=y +CONFIG_EXT4_FS_SECURITY=y +CONFIG_SECURITY=y +CONFIG_SECURITY_SMACK=y +CONFIG_TMPFS_XATTR=y -- cgit 1.2.3-korg