summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2013-09-19 18:32:52 +0000
committerJoe MacDonald <joe@deserted.net>2013-10-02 13:24:45 -0400
commit479c9803f0de0b0660b97d4ff0c498ee5a7cbd03 (patch)
tree19af1ae3def60fd11eb7ee9cdeeb5694d8642e78
parent3342d1edcf7d25b6d22e636083309a410243cd0a (diff)
downloadmeta-selinux-479c9803f0de0b0660b97d4ff0c498ee5a7cbd03.tar.gz
linux-yocto: Add support for the 3.10 kernel
Also update the selinux.cfg file to add ext4, jfs, and jffs2 support. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r--recipes-kernel/linux/linux-yocto/selinux.cfg3
-rw-r--r--recipes-kernel/linux/linux-yocto_3.10.bbappend3
2 files changed, 6 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto/selinux.cfg b/recipes-kernel/linux/linux-yocto/selinux.cfg
index 325d5d8..53cdf57 100644
--- a/recipes-kernel/linux/linux-yocto/selinux.cfg
+++ b/recipes-kernel/linux/linux-yocto/selinux.cfg
@@ -14,7 +14,10 @@ CONFIG_AUDIT=y
14CONFIG_NETWORK_SECMARK=y 14CONFIG_NETWORK_SECMARK=y
15CONFIG_EXT2_FS_SECURITY=y 15CONFIG_EXT2_FS_SECURITY=y
16CONFIG_EXT3_FS_SECURITY=y 16CONFIG_EXT3_FS_SECURITY=y
17CONFIG_EXT4_FS_SECURITY=y
18CONFIG_JFS_SECURITY=y
17CONFIG_REISERFS_FS_SECURITY=y 19CONFIG_REISERFS_FS_SECURITY=y
20CONFIG_JFFS2_FS_SECURITY=y
18CONFIG_SECURITY_NETWORK=y 21CONFIG_SECURITY_NETWORK=y
19CONFIG_SECURITY_SELINUX=y 22CONFIG_SECURITY_SELINUX=y
20CONFIG_SECURITY_SELINUX_BOOTPARAM=y 23CONFIG_SECURITY_SELINUX_BOOTPARAM=y
diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend
index 9004c59..159d63b 100644
--- a/recipes-kernel/linux/linux-yocto_3.10.bbappend
+++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend
@@ -1,6 +1,9 @@
1PRINC = "1" 1PRINC = "1"
2FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 2FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
3 3
4# Enable selinux support in the kernel if the feature is enabled
5SRC_URI += "${@base_contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}"
6
4# For inconsistent kallsyms data bug on ARM 7# For inconsistent kallsyms data bug on ARM
5# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718 8# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718
6EXTRA_OEMAKE += "${@base_contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}" 9EXTRA_OEMAKE += "${@base_contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}"