Skip to content

Commit

Permalink
Merge #33049: linux: 4.14.8 -> 4.14.9
Browse files Browse the repository at this point in the history
(cherry picked from commit 68bcfb3)
Fixes CVE-2017-16996.
  • Loading branch information
vcunat committed Dec 26, 2017
1 parent 8ea4671 commit 9d96a85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/linux-4.14.nix
Expand Up @@ -3,7 +3,7 @@
with stdenv.lib;

import ./generic.nix (args // rec {
version = "4.14.8";
version = "4.14.9";

# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = concatStrings (intersperse "." (take 3 (splitString "." "${version}.0")));
Expand All @@ -13,6 +13,6 @@ import ./generic.nix (args // rec {

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0cwk9liv79hw5l34xvwnf05spx1jvv8q8w9lfbw4lw8xldxwbg3f";
sha256 = "1vqllh36wss4dsdvb12zchy6hjaniyxcla5cg8962xrkim2bpk6g";
};
} // (args.argsOverride or {}))
4 changes: 2 additions & 2 deletions pkgs/os-specific/linux/kernel/manual-config.nix
Expand Up @@ -223,7 +223,7 @@ let
};
in

assert stdenv.lib.versionAtLeast version "4.15" -> libelf != null;
assert stdenv.lib.versionAtLeast version "4.14" -> libelf != null;
assert stdenv.lib.versionAtLeast version "4.15" -> utillinux != null;
stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKernelPatches) configfile) // {
name = "linux-${version}";
Expand All @@ -232,7 +232,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe

nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ]
++ optional (stdenv.platform.uboot != null) (ubootChooser stdenv.platform.uboot)
++ optional (stdenv.lib.versionAtLeast version "4.15") libelf
++ optional (stdenv.lib.versionAtLeast version "4.14") libelf
++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux
;

Expand Down

0 comments on commit 9d96a85

Please sign in to comment.