Skip to content

Commit

Permalink
grsecurity: 4.8.17-201701151620 -> 4.9.8-201702060653
Browse files Browse the repository at this point in the history
The first release in the 4.9 branch.

I've also migrated my update scripts to SHA-512 so that'll
be the hash of choice for grsec packages going forward.
  • Loading branch information
joachifm committed Feb 6, 2017
1 parent 6eb6130 commit 0d422c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions pkgs/os-specific/linux/kernel/linux-grsecurity.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:

import ./generic.nix (args // rec {
version = "4.8.17";
extraMeta.branch = "4.8";
version = "4.9.8";
extraMeta.branch = "4.9";

src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1zk0q6bvqgz2pk1axd5z0cx71vqk96314f1zn8apwa4raylf9fpa";
sha512 = "39r4hq5f70nc1v8qq4qvnd0fq98h4akm6y6zp7ml6mi5knz7v6zm86ykq87a0ph3zh23msimi4155354qcsmsxp4cbd22cq8s1w86ds";
};

kernelPatches = args.kernelPatches;
Expand Down
10 changes: 5 additions & 5 deletions pkgs/os-specific/linux/kernel/patches.nix
Expand Up @@ -18,7 +18,7 @@ let
};
};

grsecPatch = { grbranch ? "test", grver ? "3.1", kver, grrev, sha256 }: rec {
grsecPatch = { grbranch ? "test", grver ? "3.1", kver, grrev, sha512 }: rec {
name = "grsecurity-${grver}-${kver}-${grrev}";

# Pass these along to allow the caller to determine compatibility
Expand All @@ -32,7 +32,7 @@ let
# source files immediately upon releasing a new version ...
"https://raw.githubusercontent.com/slashbeast/grsecurity-scrape/master/${grbranch}/${kver}/${name}.patch"
];
inherit sha256;
inherit sha512;
};

features.grsecurity = true;
Expand Down Expand Up @@ -95,9 +95,9 @@ rec {
};

grsecurity_testing = grsecPatch
{ kver = "4.8.17";
grrev = "201701151620";
sha256 = "10gavcdby8aiylbx8afc1x4j0vzbb16bhlw39a7ibnav45scsr0p";
{ kver = "4.9.8";
grrev = "201702060653";
sha512 = "1kammx0q0v37xw9z9zk7ppkixrwlr866dpfykjs4wy3ypcivnvkbk7dimyihna3vrylwgp5gq90ly7dj7d9gdblh83ccnq6n2m7ba43";
};

# This patch relaxes grsec constraints on the location of usermode helpers,
Expand Down

0 comments on commit 0d422c5

Please sign in to comment.