summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-02-16 21:14:46 -0800
committerArmin Kuster <akuster808@gmail.com>2018-02-18 19:31:59 -0800
commitab8d219c43099bc8d9864a082dad402ecfb7f389 (patch)
treef3ccb7a380e0206241aebcf0377e6099c6d28d35 /recipes-kernel/linux/linux-yocto
parentf5c93d5f739cad7f26f178e81c2a41b024e5abc9 (diff)
downloadmeta-security-ab8d219c43099bc8d9864a082dad402ecfb7f389.tar.gz
linux-yocto: move to wildcard on bbappend
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-kernel/linux/linux-yocto')
-rw-r--r--recipes-kernel/linux/linux-yocto/apparmor.cfg13
-rw-r--r--recipes-kernel/linux/linux-yocto/smack-default-lsm.cfg2
-rw-r--r--recipes-kernel/linux/linux-yocto/smack.cfg8
3 files changed, 23 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto/apparmor.cfg b/recipes-kernel/linux/linux-yocto/apparmor.cfg
new file mode 100644
index 0000000..1dc4168
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/apparmor.cfg
@@ -0,0 +1,13 @@
1CONFIG_AUDIT=y
2CONFIG_AUDITSYSCALL=y
3CONFIG_AUDIT_WATCH=y
4CONFIG_AUDIT_TREE=y
5# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set
6CONFIG_SECURITY_PATH=y
7# CONFIG_SECURITY_SELINUX is not set
8CONFIG_SECURITY_APPARMOR=y
9CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
10CONFIG_SECURITY_APPARMOR_HASH=y
11CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
12CONFIG_INTEGRITY_AUDIT=y
13# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
diff --git a/recipes-kernel/linux/linux-yocto/smack-default-lsm.cfg b/recipes-kernel/linux/linux-yocto/smack-default-lsm.cfg
new file mode 100644
index 0000000..b5c4845
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/smack-default-lsm.cfg
@@ -0,0 +1,2 @@
1CONFIG_DEFAULT_SECURITY="smack"
2CONFIG_DEFAULT_SECURITY_SMACK=y
diff --git a/recipes-kernel/linux/linux-yocto/smack.cfg b/recipes-kernel/linux/linux-yocto/smack.cfg
new file mode 100644
index 0000000..62f465a
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/smack.cfg
@@ -0,0 +1,8 @@
1CONFIG_IP_NF_SECURITY=m
2CONFIG_IP6_NF_SECURITY=m
3CONFIG_EXT2_FS_SECURITY=y
4CONFIG_EXT3_FS_SECURITY=y
5CONFIG_EXT4_FS_SECURITY=y
6CONFIG_SECURITY=y
7CONFIG_SECURITY_SMACK=y
8CONFIG_TMPFS_XATTR=y