diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-02-16 21:14:46 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-02-18 19:31:59 -0800 |
commit | ab8d219c43099bc8d9864a082dad402ecfb7f389 (patch) | |
tree | f3ccb7a380e0206241aebcf0377e6099c6d28d35 /recipes-kernel/linux/linux-yocto | |
parent | f5c93d5f739cad7f26f178e81c2a41b024e5abc9 (diff) | |
download | meta-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.cfg | 13 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/smack-default-lsm.cfg | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/smack.cfg | 8 |
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 @@ | |||
1 | CONFIG_AUDIT=y | ||
2 | CONFIG_AUDITSYSCALL=y | ||
3 | CONFIG_AUDIT_WATCH=y | ||
4 | CONFIG_AUDIT_TREE=y | ||
5 | # CONFIG_NETFILTER_XT_TARGET_AUDIT is not set | ||
6 | CONFIG_SECURITY_PATH=y | ||
7 | # CONFIG_SECURITY_SELINUX is not set | ||
8 | CONFIG_SECURITY_APPARMOR=y | ||
9 | CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 | ||
10 | CONFIG_SECURITY_APPARMOR_HASH=y | ||
11 | CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y | ||
12 | CONFIG_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 @@ | |||
1 | CONFIG_DEFAULT_SECURITY="smack" | ||
2 | CONFIG_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 @@ | |||
1 | CONFIG_IP_NF_SECURITY=m | ||
2 | CONFIG_IP6_NF_SECURITY=m | ||
3 | CONFIG_EXT2_FS_SECURITY=y | ||
4 | CONFIG_EXT3_FS_SECURITY=y | ||
5 | CONFIG_EXT4_FS_SECURITY=y | ||
6 | CONFIG_SECURITY=y | ||
7 | CONFIG_SECURITY_SMACK=y | ||
8 | CONFIG_TMPFS_XATTR=y | ||