gradm: learn of all accesses for /nix/store

This is necessary for gradm's learning mode to work, as otherwise the
/nix/store directory is marked hidden, which causes the kernel to reject
the linker loading ld-linux.so

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp
2014-04-06 21:51:35 +02:00
committed by Ricardo M. Correia
parent 784062214c
commit ef903555fd
+2
View File
@@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
KERNEL=="grsec", MODE="0622"
LABEL="permissions_end"
EOF
echo "inherit-learn /nix/store" >> $out/etc/grsec/learn_config
'';
makeFlags =