diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-09-19 18:32:52 +0000 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2013-10-02 13:24:45 -0400 |
commit | 479c9803f0de0b0660b97d4ff0c498ee5a7cbd03 (patch) | |
tree | 19af1ae3def60fd11eb7ee9cdeeb5694d8642e78 | |
parent | 3342d1edcf7d25b6d22e636083309a410243cd0a (diff) | |
download | meta-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.cfg | 3 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.10.bbappend | 3 |
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 | |||
14 | CONFIG_NETWORK_SECMARK=y | 14 | CONFIG_NETWORK_SECMARK=y |
15 | CONFIG_EXT2_FS_SECURITY=y | 15 | CONFIG_EXT2_FS_SECURITY=y |
16 | CONFIG_EXT3_FS_SECURITY=y | 16 | CONFIG_EXT3_FS_SECURITY=y |
17 | CONFIG_EXT4_FS_SECURITY=y | ||
18 | CONFIG_JFS_SECURITY=y | ||
17 | CONFIG_REISERFS_FS_SECURITY=y | 19 | CONFIG_REISERFS_FS_SECURITY=y |
20 | CONFIG_JFFS2_FS_SECURITY=y | ||
18 | CONFIG_SECURITY_NETWORK=y | 21 | CONFIG_SECURITY_NETWORK=y |
19 | CONFIG_SECURITY_SELINUX=y | 22 | CONFIG_SECURITY_SELINUX=y |
20 | CONFIG_SECURITY_SELINUX_BOOTPARAM=y | 23 | CONFIG_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 @@ | |||
1 | PRINC = "1" | 1 | PRINC = "1" |
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
3 | 3 | ||
4 | # Enable selinux support in the kernel if the feature is enabled | ||
5 | SRC_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 |
6 | EXTRA_OEMAKE += "${@base_contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}" | 9 | EXTRA_OEMAKE += "${@base_contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}" |