summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-08-09 08:57:56 -0700
committerArmin Kuster <akuster808@gmail.com>2019-08-09 08:57:56 -0700
commit0ed3d10c70b68913958b86257b957814c9c91e90 (patch)
tree0a5e61e14acefb652d3b9902271a4c472a61e7c8
parent9549b76a9073bf7da9e3183f118c02bf365f8021 (diff)
downloadmeta-security-0ed3d10c70b68913958b86257b957814c9c91e90.tar.gz
linux-%: remove kernel fragments now in cache
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-kernel/linux/linux-%.bbapend9
-rw-r--r--recipes-kernel/linux/linux/apparmor.cfg9
-rw-r--r--recipes-kernel/linux/linux/apparmor_on_boot.cfg1
-rw-r--r--recipes-kernel/linux/linux/smack-default-lsm.cfg2
-rw-r--r--recipes-kernel/linux/linux/smack.cfg7
5 files changed, 0 insertions, 28 deletions
diff --git a/recipes-kernel/linux/linux-%.bbapend b/recipes-kernel/linux/linux-%.bbapend
deleted file mode 100644
index ec7adeb..0000000
--- a/recipes-kernel/linux/linux-%.bbapend
+++ /dev/null
@@ -1,9 +0,0 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
2
3SRC_URI += "\
4 ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \
5 ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor_on_boot.cfg', '', d)} \
6 ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack.cfg', '', d)} \
7 ${@bb.utils.contains('DISTRO_FEATURES', 'smack', ' file://smack-default-lsm.cfg', '', d)} \
8 ${@bb.utils.contains('DISTRO_FEATURES', 'yama', ' file://yama.cfg', '', d)} \
9"
diff --git a/recipes-kernel/linux/linux/apparmor.cfg b/recipes-kernel/linux/linux/apparmor.cfg
deleted file mode 100644
index ae6cdcd..0000000
--- a/recipes-kernel/linux/linux/apparmor.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
1CONFIG_AUDIT=y
2CONFIG_SECURITY_PATH=y
3CONFIG_SECURITY_APPARMOR=y
4CONFIG_SECURITY_APPARMOR_HASH=y
5CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
6CONFIG_INTEGRITY_AUDIT=y
7CONFIG_DEFAULT_SECURITY_APPARMOR=y
8CONFIG_DEFAULT_SECURITY="apparmor"
9CONFIG_AUDIT_GENERIC=y
diff --git a/recipes-kernel/linux/linux/apparmor_on_boot.cfg b/recipes-kernel/linux/linux/apparmor_on_boot.cfg
deleted file mode 100644
index fc35740..0000000
--- a/recipes-kernel/linux/linux/apparmor_on_boot.cfg
+++ /dev/null
@@ -1 +0,0 @@
1CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
diff --git a/recipes-kernel/linux/linux/smack-default-lsm.cfg b/recipes-kernel/linux/linux/smack-default-lsm.cfg
deleted file mode 100644
index b5c4845..0000000
--- a/recipes-kernel/linux/linux/smack-default-lsm.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
1CONFIG_DEFAULT_SECURITY="smack"
2CONFIG_DEFAULT_SECURITY_SMACK=y
diff --git a/recipes-kernel/linux/linux/smack.cfg b/recipes-kernel/linux/linux/smack.cfg
deleted file mode 100644
index 0d5fc64..0000000
--- a/recipes-kernel/linux/linux/smack.cfg
+++ /dev/null
@@ -1,7 +0,0 @@
1CONFIG_NETLABEL=y
2CONFIG_SECURITY_NETWORK=y
3# CONFIG_SECURITY_NETWORK_XFRM is not set
4CONFIG_SECURITY_SMACK=y
5CONFIG_SECURITY_SMACK_BRINGUP=y
6CONFIG_SECURITY_SMACK_APPEND_SIGNALS=y
7CONFIG_TMPFS_XATTR=y