summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-08-11 09:29:26 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-08-12 11:05:59 -0400
commitf184751f6f996fec57008d8851cd992086479acc (patch)
treed050567953153f29f0e22032fa1800812d7c135b
parenta92f0ba6997fb223792610692877f3e1fee3d004 (diff)
downloadyocto-kernel-cache-f184751f6f996fec57008d8851cd992086479acc.tar.gz
yocto-kernel-cache-f184751f6f996fec57008d8851cd992086479acc.tar.bz2
yocto-kernel-cache-f184751f6f996fec57008d8851cd992086479acc.zip
kernel-cache: add smack
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--features/smack/smack.cfg10
-rw-r--r--features/smack/smack.scc4
2 files changed, 14 insertions, 0 deletions
diff --git a/features/smack/smack.cfg b/features/smack/smack.cfg
new file mode 100644
index 00000000..19587977
--- /dev/null
+++ b/features/smack/smack.cfg
@@ -0,0 +1,10 @@
+CONFIG_NETLABEL=y
+CONFIG_SECURITYFS=y
+CONFIG_SECURITY_NETWORK=y
+CONFIG_SECURITY_SMACK=y
+CONFIG_SECURITY_SMACK_APPEND_SIGNALS=y
+CONFIG_EVM=y
+CONFIG_EVM_ATTR_FSUUID=y
+CONFIG_DEFAULT_SECURITY_SMACK=y
+CONFIG_CRYPTO_HASH_INFO=y
+CONFIG_CRC_CCITT=y
diff --git a/features/smack/smack.scc b/features/smack/smack.scc
new file mode 100644
index 00000000..b53fa56e
--- /dev/null
+++ b/features/smack/smack.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable/disable configurations for smack security"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware smack.cfg