Only apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchset 09/10309/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Fri, 21 Jul 2017 07:30:57 +0000 (09:30 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 21 Jul 2017 19:30:25 +0000 (19:30 +0000)
The patches are kernel version specific. Only apply to Kernel 4.8.

Bug-AGL: SPEC-766

Change-Id: I8cd1cd980cc389bef30f2a4e80944e2b94f53da6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10293
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
(cherry picked from commit fa90294b523d32bede7e840b018e8ec0fc20c9c6)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10309

meta-agl-bsp/recipes-kernel/linux/linux-yocto_%.bbappend
meta-agl-bsp/recipes-kernel/linux/linux-yocto_4.8.bbappend [new file with mode: 0644]

index 8205a3f..fcd0280 100644 (file)
@@ -18,6 +18,3 @@ SRC_URI += " file://rtl_sdr.cfg \
 # disk drivers for vmdk
 SRC_URI_append_qemux86 = " file://vbox-vmware-sata.cfg "
 SRC_URI_append_qemux86-64 = " file://vbox-vmware-sata.cfg "
-
-# Backported fix for CVE-2017-1000364
-SRC_URI_append = " file://4.8-0001-SEC-Backport-Fix-CVE-2017-1000364-through-backport.patch "
diff --git a/meta-agl-bsp/recipes-kernel/linux/linux-yocto_4.8.bbappend b/meta-agl-bsp/recipes-kernel/linux/linux-yocto_4.8.bbappend
new file mode 100644 (file)
index 0000000..39b651f
--- /dev/null
@@ -0,0 +1,4 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:"
+
+# Backported fix for CVE-2017-1000364
+SRC_URI_append = " file://4.8-0001-SEC-Backport-Fix-CVE-2017-1000364-through-backport.patch "