All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH] linux-yocto: enable selinux support for kernel v3.19
@ 2015-06-05  8:40 Shrikant Bobade
  2015-06-09  5:30 ` Philip Tricca
  0 siblings, 1 reply; 2+ messages in thread
From: Shrikant Bobade @ 2015-06-05  8:40 UTC (permalink / raw)
  To: yocto; +Cc: Shrikant Bobade

From: Shrikant Bobade <Shrikant_Bobade@mentor.com>

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>
---
 recipes-kernel/linux/linux-yocto_3.19.bbappend |    8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-yocto_3.19.bbappend

diff --git a/recipes-kernel/linux/linux-yocto_3.19.bbappend b/recipes-kernel/linux/linux-yocto_3.19.bbappend
new file mode 100644
index 0000000..65c79ef
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_3.19.bbappend
@@ -0,0 +1,8 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+# Enable selinux support in the kernel if the feature is enabled
+SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}"
+
+# For inconsistent kallsyms data bug on ARM
+# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718 
+EXTRA_OEMAKE += "${@bb.utils.contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-selinux][PATCH] linux-yocto: enable selinux support for kernel v3.19
  2015-06-05  8:40 [meta-selinux][PATCH] linux-yocto: enable selinux support for kernel v3.19 Shrikant Bobade
@ 2015-06-09  5:30 ` Philip Tricca
  0 siblings, 0 replies; 2+ messages in thread
From: Philip Tricca @ 2015-06-09  5:30 UTC (permalink / raw)
  To: Shrikant Bobade; +Cc: yocto, Shrikant Bobade

On 06/05/2015 01:40 AM, Shrikant Bobade wrote:
> From: Shrikant Bobade <Shrikant_Bobade@mentor.com>
> 
> 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.

Looks good to me. Boots policy in enforcing as expected.

Philip



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-09  5:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05  8:40 [meta-selinux][PATCH] linux-yocto: enable selinux support for kernel v3.19 Shrikant Bobade
2015-06-09  5:30 ` Philip Tricca

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.