2017-10-28 21:09:54 +02:00
|
|
|
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
|
2017-12-04 02:59:11 +01:00
|
|
|
|
2018-01-28 19:50:18 +01:00
|
|
|
buildLinux (args // rec {
|
2017-12-04 02:59:11 +01:00
|
|
|
version = "4.13.16";
|
|
|
|
extraMeta.branch = "4.13";
|
|
|
|
|
2017-12-04 09:33:39 +01:00
|
|
|
# TODO: perhaps try being more concrete (ideally CVE numbers).
|
|
|
|
extraMeta.knownVulnerabilities = [
|
|
|
|
"ALSA: usb-audio: Fix potential out-of-bound access at parsing SU"
|
|
|
|
"eCryptfs: use after free in ecryptfs_release_messaging()"
|
|
|
|
];
|
|
|
|
|
2017-12-04 02:59:11 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
|
|
|
sha256 = "0cf7prqzl1ajbgl98w0symdyn0k5wl5xaf1l5ldgy6l083yg69dh";
|
|
|
|
};
|
|
|
|
} // (args.argsOverride or {}))
|