git.iko.soy/typeable/nixpkgs
on master help sign in
grsecurity: add a xen guest kernel

This is for the benefit of users who want to quickly get up and running on a Xen host, for which the stock NixOS kernel is likely unsuitable.

commit7bda8f0a8fc38e3cccd565521342ec9aaeffb297 authorJoachim Fasting <joachifm@fastmail.fm> dateTue 14 Jun 2016, 00:09 (10 years ago) parent544b42f
1 file changed+13
pkgs/top-level/all-packages.nix+13
pkgs/top-level/all-packages.nix+13
@@ -10987,6 +10987,19 @@ in
1098710987 let self = linuxPackagesFor linux_grsec_nixos self;
1098810988 in recurseIntoAttrs self;
1098910989
10990+ # An unsupported grsec xen guest kernel
10991+ linux_grsec_server_xen = linux_grsec_nixos.override {
10992+ extraConfig = ''
10993+ GRKERNSEC y
10994+ PAX y
10995+ GRKERNSEC_CONFIG_AUTO y
10996+ GRKERNSEC_CONFIG_PRIORITY_SECURITY y
10997+ GRKERNSEC_CONFIG_SERVER y
10998+ GRKERNSEC_CONFIG_VIRT_GUEST y
10999+ GRKERNSEC_CONFIG_VIRT_XEN y
11000+ '';
11001+ };
11002+
1099011003 # grsecurity: legacy
1099111004
1099211005 grsecurity_base_linux_3_14 = throw "grsecurity stable is no longer supported";