From 2cfbf533cd367a2dc7974001365622d6ff4b0787 Mon Sep 17 00:00:00 2001 From: Kotaro Hashimoto Date: Thu, 23 Feb 2017 21:17:53 +0900 Subject: Enable smack in linux-linaro-qcomlt kernel This changes enables the smack feature in linux-linaro-qcomlt kernel by using configuration fragments. * backport from master commit 8360d714b7373386f4bebeb434dbc6f0a4a49b9d Change-Id: I304effa533bd802c987fe4efd2d3b17eb358ff6c Signed-off-by: Kotaro Hashimoto --- .../meta-qcom/recipes-kernel/linux/files/smack-default-lsm.cfg | 2 ++ meta-agl-bsp/meta-qcom/recipes-kernel/linux/files/smack.cfg | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 meta-agl-bsp/meta-qcom/recipes-kernel/linux/files/smack-default-lsm.cfg create mode 100644 meta-agl-bsp/meta-qcom/recipes-kernel/linux/files/smack.cfg (limited to 'meta-agl-bsp/meta-qcom/recipes-kernel/linux/files') diff --git a/meta-agl-bsp/meta-qcom/recipes-kernel/linux/files/smack-default-lsm.cfg b/meta-agl-bsp/meta-qcom/recipes-kernel/linux/files/smack-default-lsm.cfg new file mode 100644 index 000000000..b5c48454e --- /dev/null +++ b/meta-agl-bsp/meta-qcom/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-qcom/recipes-kernel/linux/files/smack.cfg b/meta-agl-bsp/meta-qcom/recipes-kernel/linux/files/smack.cfg new file mode 100644 index 000000000..62f465a45 --- /dev/null +++ b/meta-agl-bsp/meta-qcom/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