grsecurity: add 4.1 kernel
This commit is contained in:
19
pkgs/os-specific/linux/kernel/linux-grsecurity-4.1.nix
Normal file
19
pkgs/os-specific/linux/kernel/linux-grsecurity-4.1.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "4.1.7";
|
||||
extraMeta.branch = "4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "0g1dnvak0pd03d4miy1025bw64wq71w29a058dzspdr6jcf9qwbn";
|
||||
};
|
||||
|
||||
kernelPatches = args.kernelPatches;
|
||||
|
||||
features.iwlwifi = true;
|
||||
features.efiBootStub = true;
|
||||
features.needsCifsUtils = true;
|
||||
features.canDisableNetfilterConntrackHelpers = true;
|
||||
features.netfilterRPFilter = true;
|
||||
} // (args.argsOverride or {}))
|
||||
@@ -91,6 +91,14 @@ rec {
|
||||
sha256 = "1sp1gwa7ahzflq7ayb51bg52abrn5zx1hb3pff3axpjqq7vfai6f";
|
||||
};
|
||||
|
||||
grsecurity_4_1 = grsecPatch
|
||||
{ kernel = pkgs.grsecurity_base_linux_4_1;
|
||||
patches = [ grsecurity_fix_path_3_14 ];
|
||||
kversion = "4.1.7";
|
||||
revision = "201509201149";
|
||||
sha256 = "1agv8c3c4vmh5algbzmrq2f6vwk72rikrlcbm4h7jbrb9js6fxk4";
|
||||
};
|
||||
|
||||
grsecurity_4_4 = grsecPatch
|
||||
{ kernel = pkgs.grsecurity_base_linux_4_4;
|
||||
patches = [ grsecurity_fix_path_4_4 ];
|
||||
|
||||
Reference in New Issue
Block a user