summary refs log tree commit diff
path: root/nixos/modules/security
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-12-05 19:19:33 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-12-06 01:23:58 +0100
commit0e765c72e5c1f12d629d9d23d34f5fcb235e2833 (patch)
tree58094583e68cbd159ac3f47ad88a2970ee6b9ce9 /nixos/modules/security
parent31d79afbe5c0dc4f5343e842e40ada6738b1abb3 (diff)
downloadnixlib-0e765c72e5c1f12d629d9d23d34f5fcb235e2833.tar
nixlib-0e765c72e5c1f12d629d9d23d34f5fcb235e2833.tar.gz
nixlib-0e765c72e5c1f12d629d9d23d34f5fcb235e2833.tar.bz2
nixlib-0e765c72e5c1f12d629d9d23d34f5fcb235e2833.tar.lz
nixlib-0e765c72e5c1f12d629d9d23d34f5fcb235e2833.tar.xz
nixlib-0e765c72e5c1f12d629d9d23d34f5fcb235e2833.tar.zst
nixlib-0e765c72e5c1f12d629d9d23d34f5fcb235e2833.zip
grsecurity: enable module hardening
Diffstat (limited to 'nixos/modules/security')
-rw-r--r--nixos/modules/security/grsecurity.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/security/grsecurity.xml b/nixos/modules/security/grsecurity.xml
index 97628b0fe329..5b3e4db03a13 100644
--- a/nixos/modules/security/grsecurity.xml
+++ b/nixos/modules/security/grsecurity.xml
@@ -153,10 +153,6 @@
 
         <listitem><para>Trusted path execution: a desirable feature, but
         requires some more work to operate smoothly on NixOS.</para></listitem>
-
-        <listitem><para>Module hardening: would break user initiated module
-        loading. Might enable this at some point, depending on the potential
-        breakage.</para></listitem>
       </itemizedlist>
     </para></listitem>
 
@@ -292,6 +288,10 @@
     <option>security.grsecurity.disableEfiRuntimeServices</option> to override
     this behavior.</para></listitem>
 
+    <listitem><para>User initiated autoloading of modules (e.g., when
+    using fuse or loop devices) is disallowed; either load requisite modules
+    as root or add them to<option>boot.kernelModules</option>.</para></listitem>
+
     <listitem><para>Virtualization: KVM is the preferred virtualization
     solution. Xen, Virtualbox, and VMWare are
     <emphasis>unsupported</emphasis> and most likely require a custom kernel.