xen: Patch for CVE-2016-9385, CVE-2016-9377, and CVE-2016-9378

This commit is contained in:
Graham Christensen 2016-12-07 20:16:05 -05:00
parent 4c5a198019
commit 86da9839b1
No known key found for this signature in database
GPG Key ID: ACA1C1D120C83D5C

View File

@ -1,4 +1,4 @@
{ callPackage, fetchurl, fetchgit, ... } @ args:
{ callPackage, fetchurl, fetchpatch, fetchgit, ... } @ args:
let
# Xen 4.5.5
@ -54,7 +54,23 @@ let
xenPatches = [ ./0001-libxl-Spice-image-compression-setting-support-for-up.patch
./0002-libxl-Spice-streaming-video-setting-support-for-upst.patch
./0003-Add-qxl-vga-interface-support-for-upstream-qem.patch ];
./0003-Add-qxl-vga-interface-support-for-upstream-qem.patch
(fetchpatch {
url = "https://bugzilla.redhat.com/attachment.cgi?id=1218547";
name = "CVE-2016-9385.patch";
sha256 = "0l5drg862708ngy49jl65vmv6iwxlm7h8b4vabnffc2496f2gbwk";
})
(fetchpatch {
url = "https://bugzilla.redhat.com/attachment.cgi?id=1218536";
name = "CVE-2016-9377-CVE-2016-9378-part1.patch";
sha256 = "1dy8xvnkdvc44ywzzlswmkljjva44c0ndw7538iicr3qyf0244n4";
})
(fetchpatch {
url = "https://bugzilla.redhat.com/attachment.cgi?id=1218537";
name = "CVE-2016-9377-CVE-2016-9378-part2.patch";
sha256 = "0iz36s2w6bh5h9i1a9gj1c748fq1dj90kcg2yzld1m26qx21qrr5";
})
];
};
in callPackage ./generic.nix (args // { xenConfig=xenConfig; })