summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto: drop CONFIG_SECURITY_SELINUX_DISABLEYi Zhao2023-09-051-1/+0
| | | | | | | | | | CONFIG_SECURITY_SELINUX_DISABLE has been removed since kernel 6.4[1][2]. [1] https://github.com/SELinuxProject/selinux-kernel/wiki/DEPRECATE-runtime-disable [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f22f9aaf6c3d92ebd5ad9e67acc03afebaaeb289 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* linux-yocto: drop CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUEYi Zhao2023-04-301-1/+0
| | | | | | | | | | CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE is deprecated and will be rejected in a future kernel release[1]. [1] https://github.com/SELinuxProject/selinux-kernel/wiki/DEPRECATE-checkreqprot Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* linux-yocto: drop version from bbappendYi Zhao2023-03-061-0/+0
| | | | | | | Make the bbappend available for 5.x and 6.x kernels. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* classes: drop redundant classesYi Zhao2021-08-291-1/+1
| | | | | | | | | | | | | | There are some redundant classes: enable-selinux.bbclass, with-selinux.bbclass, meson-enable-selinux.bbclass, meson-selinux.bbclass, enable-audit.bbclass, with-audit.bbclass. These classes only add PACKAGEOCNFIG[selinux]/[audit] to recipes. But currently most recipes have added PACKAGECONFIG[selinux]/[audit] in their bb files. We don't need these anymore. Only keep enable-selinux.class and enable-audit.class to append PACKAGECONFIG[selinux]/[audit] for recipes. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* meta-selinux: convert to new override syntaxYi Zhao2021-08-041-1/+1
| | | | | | | | | | This is the result of automated script conversion: poky/scripts/contrib/convert-overrides.py meta-selinux Converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* linux-yocto: drop 4.x bbappendYi Zhao2020-02-261-1/+0
| | | | | | | | The linux-yocto 4.x recipes have been dropped in oe-core. We can remove the bbappend. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* kernel: Remove non-existing kernel optionzeusHe Zhe2019-10-251-1/+0
| | | | | | | | CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE has been remove from mainline kernel by the commit be6ec88f41ba ("selinux: Remove SECURITY_SELINUX_BOOTPARAM_VALUE"). Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* linux-yocto: add bbappend for kernel 5.0Yi Zhao2019-03-221-0/+1
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* Refactor to conform to YP Compat requirementsMark Hatle2017-09-145-9/+8
| | | | | | | | | | Change the references to check for the distribution flag of 'selinux' being set before taking any action within the bbappends. This prevents the signature from being modified. Also remove PR changes, as they are no longer allowed. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-yocto: Use wildcard in 4.x bbappend.Philip Tricca2016-02-271-0/+0
| | | | Signed-off-by: Philip Tricca <flihp@twobit.us>
* linux-yocto: Remove recipe for 3.14 and 3.19 kernel.Thomas Perrot2016-02-272-16/+0
| | | | | Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr> Signed-off-by: Philip Tricca <flihp@twobit.us>
* linux-libc-headers: Make headers available to native packages via BBCLASSEXTEND.Philip Tricca2015-09-081-0/+1
| | | | | Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* linux-yocto: enable selinux support for kernel v4.1Shrikant Bobade2015-08-071-0/+8
| | | | | | | | The default kernel is now v4.1. So we need the selinux support for kernel v4.1, inorder to get selinux enabled images out of box. Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* linux-yocto: enable selinux support for kernel v3.19Shrikant Bobade2015-06-091-0/+8
| | | | | | | | The default kernel is now v3.19. So we need the selinux support for kernel v3.19, inorder to get selinux enabled images out of box. Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* perf: conditionally add audit to the DEPENDS listDmitry Eremin-Solenikov2015-05-111-0/+1
| | | | | | | | perf can make use of libaudit if it is present. So let's build perf with audit if we are building a SELinux-enabled distribution. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Joe MacDonald2014-09-161-2/+2
| | | | | | | | | | | | | | | Based on oe-core commit: commit 1528e596d4906c33e4be83fcf691cfe76d340ff3 Author: Otavio Salvador <otavio@ossystems.com.br> Date: Thu Apr 24 15:59:20 2014 -0300 Globally replace 'base_contains' calls with 'bb.utils.contains' The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* kernel: remove obsoleting bbappend to fit oe-core.Xin Ouyang2014-09-121-7/+0
| | | | Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
* Enable two options to ensure selinux can boot upZhenhua Luo2014-08-281-0/+2
| | | | | | | | * CONFIG_SECURITY=y * CONFIG_SECURITYFS=y Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
* kernel: remove 3.8 bbappend to follow oe-core changes.Xin Ouyang2014-05-161-7/+0
| | | | Signed-off-by: Xin Ouyang <xin.ouyang@windriver.com>
* linux-yocto: migrate from 3.10 to 3.14Joe MacDonald2014-05-091-1/+0
| | | | | | | | The default kernel is now 3.14. Since the removal of PRINC support leaves the 3.10 recipe in a difficult-to-work-with state, now seems like a good time to move to the new kernel. Signed-off-by: Joe MacDonald <joe@deserted.net>
* linux-yocto: Add support for the 3.10 kernelMark Hatle2013-10-022-0/+6
| | | | | | | 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>
* kernel: add BBAPPEND for linux 3.10Xin Ouyang2013-10-021-0/+6
| | | | | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* kernel: remove 3.2 bbappend to fit oe-coreXin Ouyang2013-06-171-7/+0
| | | | | | | OE-Core rev b8d53d8f91bd1b165016ea1063868c8b15f07ce0 removes 3.2 kernel recipes. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
* kernel: add linux-3.8 bbappendXin Ouyang2013-03-091-0/+7
| | | | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
* kernel: remove 3.0 bbappend to fit oe-coreXin Ouyang2013-03-091-4/+0
| | | | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
* kernel: default enable selinux for this layer.Xin Ouyang2012-10-181-1/+1
| | | | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
* kernel: bbappend to enable SELinux, v3.4.Xin Ouyang2012-07-191-0/+7
| | | | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
* kernel: Workaround for inconsistent kallsyms on ARM.Xin Ouyang2012-04-271-0/+3
|
* kernel: bbappend to enable SELinux, v3.2.Xin Ouyang2012-04-171-0/+4
|
* linux-yocto: Enable SE Linux supportMark Hatle2012-01-312-0/+30
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>